diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2009-08-27 02:51:16 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2009-08-27 02:51:16 +0200 |
commit | 59bec05e406a0cf55c52d13cecfe76dccf83cd19 (patch) | |
tree | 276b5d10e696148f9fd300f80ab8a7a0c6b0cd61 /src/Server/ConnectionManager.h | |
parent | c964aa2708ed2839ded3c35eed7338f3e81f568f (diff) | |
download | mad-59bec05e406a0cf55c52d13cecfe76dccf83cd19.tar mad-59bec05e406a0cf55c52d13cecfe76dccf83cd19.zip |
Net::Connection etc.: Einige Race Conditions gefixt
Keine sporadischen Abstürze mehr
Diffstat (limited to 'src/Server/ConnectionManager.h')
-rw-r--r-- | src/Server/ConnectionManager.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Server/ConnectionManager.h b/src/Server/ConnectionManager.h index 9638f38..057e73e 100644 --- a/src/Server/ConnectionManager.h +++ b/src/Server/ConnectionManager.h @@ -127,7 +127,7 @@ class MAD_SERVER_EXPORT ConnectionManager : public Core::Configurable, private b void updateState(Common::HostInfo *hostInfo, Common::HostInfo::State state); void handleNewConnection(boost::shared_ptr<Net::Connection> con); - void handleDisconnect(boost::shared_ptr<ServerConnection> con); + void handleDisconnect(boost::weak_ptr<ServerConnection> con); ConnectionManager(Application *application0); ~ConnectionManager(); |