diff options
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/net.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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) |