Skip to end of metadata
Go to start of metadata

void FB::BrowserHost::releaseJSAPIPtr ( const FB::JSAPIPtr obj  )  const

releases the specified JSAPI object to allow it to be invalidated and freed. This is done automatically for all retained objects on shutdown

Since:
1.4a3

Definition at line 253 of file BrowserHost.cpp.

References DoDeferredRelease(), and isMainThread().

00254 {
00255     boost::recursive_mutex::scoped_lock _l(m_jsapimutex);
00256     std::list<FB::JSAPIPtr>::iterator it = std::find_if(m_retainedObjects.begin(), m_retainedObjects.end(), boost::lambda::_1 == obj);
00257     if (it != m_retainedObjects.end()) {
00258         m_retainedObjects.erase(it);
00259     }
00260 
00261     if (isMainThread())
00262         DoDeferredRelease();
00263 }

Here is the call graph for this function:


Generated on 25 May 2013 for FireBreath by  doxygen 1.6.1
Labels
  • None