Skip to end of metadata
Go to start of metadata

void FB::BrowserHost::shutdown ( void   )  [virtual]

Notifies the browserhost object that the associated plugin object is shutting down.

This triggers events such as releasing all JSAPI objects that have been passed to the browser and disables cross-thread calls (since our context is going away if the plugin is shutting down)

Since:
1.4a3

Reimplemented in FB::ActiveX::ActiveXBrowserHost, and FB::Npapi::NpapiBrowserHost.

Definition at line 87 of file BrowserHost.cpp.

References freeRetainedObjects().

00088 {
00089     BOOST_FOREACH(FB::JSAPIPtr ptr, m_retainedObjects) {
00090         // Notify each JSAPI object that we're shutting down
00091         ptr->shutdown();
00092     }
00093     freeRetainedObjects();
00094     boost::upgrade_lock<boost::shared_mutex> _l(m_xtmutex);
00095     m_isShutDown = true;
00096     _asyncManager->shutdown();
00097     m_streamMgr.reset();
00098 }

Here is the call graph for this function:


Generated on 17 Jun 2013 for FireBreath by  doxygen 1.6.1
Labels
  • None