diff options
Diffstat (limited to 'plugins/HTTPServer/src/main.cpp')
-rw-r--r-- | plugins/HTTPServer/src/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/HTTPServer/src/main.cpp b/plugins/HTTPServer/src/main.cpp index 5c289bbb75..89b61986c6 100644 --- a/plugins/HTTPServer/src/main.cpp +++ b/plugins/HTTPServer/src/main.cpp @@ -84,6 +84,8 @@ bool bShutdownInProgress = false; int hLangpack = 0;
+extern HWND hwndStatsticView;
+
PLUGININFOEX pluginInfo = {
sizeof(PLUGININFOEX),
__PLUGIN_NAME,
@@ -959,5 +961,7 @@ int nSystemShutdown(WPARAM /*wparam*/, LPARAM /*lparam*/) { extern "C" __declspec(dllexport) int Unload() {
nSystemShutdown(0, 0);
+ if(hwndStatsticView)
+ DestroyWindow(hwndStatsticView);
return 0;
}
\ No newline at end of file |