summaryrefslogtreecommitdiffhomepage
path: root/FaceTrackNoIR/FGServer.cpp
diff options
context:
space:
mode:
authorWim Vriend <facetracknoir@gmail.com>2011-01-29 12:58:57 +0000
committerWim Vriend <facetracknoir@gmail.com>2011-01-29 12:58:57 +0000
commit51a3eb679889844a0f8c8643034615dc12a7f523 (patch)
treea93e97b35e06ef476c80375275ba190ab8d57741 /FaceTrackNoIR/FGServer.cpp
parentde8ca77801f1f7de1e553967f80147ad89345912 (diff)
Testing filter.
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@45 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FaceTrackNoIR/FGServer.cpp')
-rw-r--r--FaceTrackNoIR/FGServer.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/FaceTrackNoIR/FGServer.cpp b/FaceTrackNoIR/FGServer.cpp
index fa7b60d5..53cd68ff 100644
--- a/FaceTrackNoIR/FGServer.cpp
+++ b/FaceTrackNoIR/FGServer.cpp
@@ -46,10 +46,8 @@ FGServer::FGServer( Tracker *parent ) {
/** destructor **/
FGServer::~FGServer() {
- inSocket->disconnectFromHost();
- inSocket->waitForDisconnected();
- outSocket->disconnectFromHost();
- outSocket->waitForDisconnected();
+ inSocket->close();
+ outSocket->close();
delete inSocket;
delete outSocket;