diff options
-rw-r--r-- | src/server/PreProcessor.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/server/PreProcessor.cpp b/src/server/PreProcessor.cpp index dec6c2df..d62fdab3 100644 --- a/src/server/PreProcessor.cpp +++ b/src/server/PreProcessor.cpp @@ -36,7 +36,10 @@ PreProcessor::PreProcessor() } PreProcessor::~PreProcessor() -{} +{ + _exit_flag = true; + _sem.post(); +} void PreProcessor::event(Event* const ev) |