summaryrefslogtreecommitdiff
path: root/server/contentDirectory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'server/contentDirectory.cpp')
-rw-r--r--server/contentDirectory.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/contentDirectory.cpp b/server/contentDirectory.cpp
index c014804..9b30c5f 100644
--- a/server/contentDirectory.cpp
+++ b/server/contentDirectory.cpp
@@ -104,11 +104,12 @@ void cContentDirectory::Action(){
this->Cancel();
}
// Sleep 2 seconds
- cCondWait::SleepMs(2000);
+ sleep.Wait(2000);
}
}
void cContentDirectory::Stop(){
+ this->sleep.Signal();
this->Cancel(2);
}