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