NPError Private_Destroy(NPP instance, NPSavedData** save) { EnterCodeResource(); NPError rv = NPP_Destroy(instance, save); ExitCodeResource(); return rv; }
void NetscapePlugin::destroy() { ASSERT(m_isStarted); // Stop all streams. stopAllStreams(); #if !PLUGIN_ARCHITECTURE(MAC) m_npWindow.window = 0; callSetWindow(); #endif NPP_Destroy(0); m_isStarted = false; m_pluginController = 0; platformDestroy(); }
void NetscapePlugin::destroy() { ASSERT(m_isStarted); // Stop all streams. stopAllStreams(); #if !PLUGIN_ARCHITECTURE(MAC) && !PLUGIN_ARCHITECTURE(X11) m_npWindow.window = 0; callSetWindow(); #endif NPP_Destroy(0); m_isStarted = false; platformDestroy(); m_timers.clear(); }
NPError Private_Destroy(NPP instance, NPSavedData** save) { NPError rv = NPP_Destroy(instance, save); return rv; }
static NPError Private_Destroy(NPP instance, NPSavedData** save) { PLUGINDEBUGSTR("Destroy"); return NPP_Destroy(instance, save); }