From 653f89fa3b236103670796af4b76a23e8ae84248 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 3 Aug 2017 22:16:47 +0300 Subject: Always unload dbs and remove net handlers. --- src/net/net.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/net/net.cpp') diff --git a/src/net/net.cpp b/src/net/net.cpp index 3bd115bf0..02bfd06ce 100644 --- a/src/net/net.cpp +++ b/src/net/net.cpp @@ -126,6 +126,7 @@ void connectToServer(const ServerInfo &server) generalHandler != nullptr) { generalHandler->unload(); + delete2(generalHandler); } switch (server.type) -- cgit v1.2.3-70-g09d2