output/httpd: cancel the DeferredMonitor in Close()
This commit is contained in:
parent
f88f1fca3f
commit
f7af1bb8e2
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue