From af61285030fa17604a0d3812c679c45cdc8c2a5d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 3 Aug 2017 21:13:18 +0300 Subject: Remove network handlers in general handler was deleted. --- src/net/net.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/net/net.cpp') diff --git a/src/net/net.cpp b/src/net/net.cpp index 7f394bcc4..3bd115bf0 100644 --- a/src/net/net.cpp +++ b/src/net/net.cpp @@ -32,6 +32,8 @@ #include "net/eathena/generalhandler.h" +#include "utils/delete2.h" + #include "debug.h" namespace Net @@ -165,6 +167,7 @@ void unload() if (handler != nullptr) handler->unload(); ignorePackets.clear(); + delete2(generalHandler); } ServerTypeT getNetworkType() -- cgit v1.2.3-60-g2f50