diff options
Diffstat (limited to 'src/Common')
-rw-r--r-- | src/Common/RequestManager.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Common/RequestManager.cpp b/src/Common/RequestManager.cpp index 3dfd1cf..cc846c6 100644 --- a/src/Common/RequestManager.cpp +++ b/src/Common/RequestManager.cpp @@ -154,6 +154,8 @@ RequestManager::RequestManager() : core(false), requestId(-1) { } RequestManager::~RequestManager() { + unregisterPacketType(Net::Packet::DISCONNECT); + for(std::map<Net::Connection*,RequestMap*>::iterator it = requestMaps.begin(); it != requestMaps.end(); ++it) delete it->second; |