From e17b967c6195b074af03fad14b0b2947c53536e2 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 20 Nov 2008 17:02:39 +0100 Subject: Paket-Typen korrekt deregistrieren --- src/Common/RequestManager.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Common') 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::iterator it = requestMaps.begin(); it != requestMaps.end(); ++it) delete it->second; -- cgit v1.2.3