Commit 4ddfc6e9 authored by Max Kellermann's avatar Max Kellermann

output/httpd: move the clients.clear() call to the IOThread

This call is not thread-safe.
parent dcbc05a9
......@@ -347,7 +347,9 @@ HttpdOutput::Close()
delete timer;
BlockingCall(GetEventLoop(), [this](){
clients.clear();
});
if (header != nullptr)
header->Unref();
......
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