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;
|
delete timer;
|
||||||
|
|
||||||
|
BlockingCall(GetEventLoop(), [this](){
|
||||||
clients.clear();
|
clients.clear();
|
||||||
|
});
|
||||||
|
|
||||||
if (header != nullptr)
|
if (header != nullptr)
|
||||||
header->Unref();
|
header->Unref();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user