output/httpd: move the clients.clear() call to the IOThread
This call is not thread-safe.
This commit is contained in:
@@ -347,7 +347,9 @@ HttpdOutput::Close()
|
||||
|
||||
delete timer;
|
||||
|
||||
clients.clear();
|
||||
BlockingCall(GetEventLoop(), [this](){
|
||||
clients.clear();
|
||||
});
|
||||
|
||||
if (header != nullptr)
|
||||
header->Unref();
|
||||
|
Reference in New Issue
Block a user