Commit f7af1bb8 authored by Max Kellermann's avatar Max Kellermann

output/httpd: cancel the DeferredMonitor in Close()

parent f88f1fca
......@@ -271,6 +271,8 @@ HttpdOutput::Close()
delete timer;
BlockingCall(GetEventLoop(), [this](){
DeferredMonitor::Cancel();
const std::lock_guard<Mutex> protect(mutex);
open = false;
clients.clear_and_dispose(DeleteDisposer());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment