FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
JSAPIPtr FB::PluginCore::releaseRootJSAPI ( )
inline

Releases the root JSAPI object.

This should only be called from your destructor; if called along with m_host->freeRetainedObjects it can be used to cause the root JSAPI object to be freed during the destructor of your plugin object instead of during the destructor of PluginCore

Returns
The root jsapi.
Since
1.4
See Also
getRootJSAPI

Definition at line 253 of file PluginCore.h.

253 { m_api.reset(); }