diff options
Diffstat (limited to 'plugins/TopToolBar/main.cpp')
-rw-r--r-- | plugins/TopToolBar/main.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/plugins/TopToolBar/main.cpp b/plugins/TopToolBar/main.cpp index 2bd283bcfc..7eb6c653f2 100644 --- a/plugins/TopToolBar/main.cpp +++ b/plugins/TopToolBar/main.cpp @@ -7,8 +7,6 @@ HINSTANCE hInst; HANDLE hHookTTBModuleLoaded;
int hLangpack;
-LIST<void> arHooks(10), arServices(10);
-
#define MIID_TTB {0xf593c752, 0x51d8, 0x4d46, {0xba, 0x27, 0x37, 0x57, 0x79, 0x53, 0xf5, 0x5c}}
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
@@ -58,12 +56,6 @@ extern "C" int __declspec(dllexport) Unload(void) UnLoadInternalButtons();
UnloadToolbarModule();
- for (int i=0; i < arHooks.getCount(); i++ )
- UnhookEvent( arHooks[i] );
-
- for (int j=0; j < arServices.getCount(); j++ )
- DestroyServiceFunction( arServices[j] );
-
DestroyHookableEvent(hHookTTBModuleLoaded);
return 0;
}
|