From 9de0202a0b12838d505825413c3cbcce5edabc11 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 6 Mar 2013 22:12:20 +0000 Subject: cleanup of the unnecessary UnhookEvent() calls git-svn-id: http://svn.miranda-ng.org/main/trunk@3909 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/HTTPServer/src/main.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'plugins/HTTPServer') diff --git a/plugins/HTTPServer/src/main.cpp b/plugins/HTTPServer/src/main.cpp index d4c1fdd011..64e17a8b63 100644 --- a/plugins/HTTPServer/src/main.cpp +++ b/plugins/HTTPServer/src/main.cpp @@ -817,9 +817,6 @@ int PreShutdown(WPARAM /*wparam*/, LPARAM /*lparam*/) { ///////////////////////////////////////////////////////////////////// int nSystemShutdown(WPARAM /*wparam*/, LPARAM /*lparam*/) { - if (hEventProtoAck) - UnhookEvent(hEventProtoAck); - while (pclFirstNode) { CLFileShareNode * pclCur = pclFirstNode; pclFirstNode = pclFirstNode->pclNext; @@ -827,10 +824,6 @@ int nSystemShutdown(WPARAM /*wparam*/, LPARAM /*lparam*/) { } pclFirstNode = NULL; - if (hEventSystemInit) { - UnhookEvent(hEventSystemInit); - hEventSystemInit = 0; - } UnInitGuiElements(); db_set_b(NULL, MODULE, "IndexCreationMode", (BYTE)indexCreationMode); -- cgit v1.2.3