summaryrefslogtreecommitdiff
path: root/plugins/HTTPServer/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/HTTPServer/src/main.cpp')
-rw-r--r--plugins/HTTPServer/src/main.cpp7
1 files changed, 0 insertions, 7 deletions
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);