DLL_EXPORT bool plugstop() { // Clear the menu _plugin_menuclear(g_MenuHandle); // Remove callbacks _plugin_unregistercallback(g_PluginHandle, CB_MENUENTRY); // Free resources term(); return true; }
DLL_EXPORT bool plugstop() { // Close dialogs DestroySigMakeDialog(); DestroySettingsDialog(); // Clear the menu _plugin_menuclear(g_MenuHandle); // Remove callbacks _plugin_unregistercallback(g_PluginHandle, CB_MENUENTRY); return true; }
void coreStop() { _plugin_unregistercommand(pluginHandle, "!sync"); _plugin_unregistercommand(pluginHandle, "!syncoff"); _plugin_menuclear(hMenu); }