summaryrefslogtreecommitdiffstats
path: root/fastlib
diff options
context:
space:
mode:
Diffstat (limited to 'fastlib')
-rw-r--r--fastlib/src/vespa/fastlib/net/httpserver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fastlib/src/vespa/fastlib/net/httpserver.cpp b/fastlib/src/vespa/fastlib/net/httpserver.cpp
index 6d60b609b5f..e12477bd030 100644
--- a/fastlib/src/vespa/fastlib/net/httpserver.cpp
+++ b/fastlib/src/vespa/fastlib/net/httpserver.cpp
@@ -406,7 +406,7 @@ void
Fast_HTTPServer::Stop(void) {
_runningMutex.Lock();
_stopSignalled = true;
- if (_isRunning) {
+ if (_acceptThread) {
_acceptThread->SetBreakFlag();
}
_runningMutex.Unlock();