diff --git a/src/httpserver.cpp b/src/httpserver.cpp index a3b9cc102a..64250ba31a 100644 --- a/src/httpserver.cpp +++ b/src/httpserver.cpp @@ -126,7 +126,7 @@ public: void Run() { ThreadCounter count(*this); - while (running) { + while (true) { WorkItem* i = 0; { boost::unique_lock lock(cs);