diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-08-03 22:16:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-08-03 22:16:47 +0300 |
commit | 653f89fa3b236103670796af4b76a23e8ae84248 (patch) | |
tree | af2f09cc6523df3c9929b8e6e14f953c3e6ab8ec /src/net/net.cpp | |
parent | af61285030fa17604a0d3812c679c45cdc8c2a5d (diff) | |
download | plus-653f89fa3b236103670796af4b76a23e8ae84248.tar.gz plus-653f89fa3b236103670796af4b76a23e8ae84248.tar.bz2 plus-653f89fa3b236103670796af4b76a23e8ae84248.tar.xz plus-653f89fa3b236103670796af4b76a23e8ae84248.zip |
Always unload dbs and remove net handlers.
Diffstat (limited to 'src/net/net.cpp')
-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) |