summaryrefslogtreecommitdiffstats
path: root/src/Common/ClientConnection.cpp
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2009-08-27 02:51:16 +0200
committerMatthias Schiffer <matthias@gamezock.de>2009-08-27 02:51:16 +0200
commit59bec05e406a0cf55c52d13cecfe76dccf83cd19 (patch)
tree276b5d10e696148f9fd300f80ab8a7a0c6b0cd61 /src/Common/ClientConnection.cpp
parentc964aa2708ed2839ded3c35eed7338f3e81f568f (diff)
downloadmad-59bec05e406a0cf55c52d13cecfe76dccf83cd19.tar
mad-59bec05e406a0cf55c52d13cecfe76dccf83cd19.zip
Net::Connection etc.: Einige Race Conditions gefixt
Keine sporadischen Abstürze mehr
Diffstat (limited to 'src/Common/ClientConnection.cpp')
-rw-r--r--src/Common/ClientConnection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Common/ClientConnection.cpp b/src/Common/ClientConnection.cpp
index 51b23fa..4182806 100644
--- a/src/Common/ClientConnection.cpp
+++ b/src/Common/ClientConnection.cpp
@@ -24,7 +24,7 @@
namespace Mad {
namespace Common {
-ClientConnection::ClientConnection(Core::Application *application) : Connection(application), connection(new Net::ClientConnection(application)) {
+ClientConnection::ClientConnection(Core::Application *application) : Connection(application), connection(Net::ClientConnection::create(application)) {
connection->connectSignalReceive(boost::bind(&ClientConnection::receive, this, _1));
}