LibIPC: Disable Notifier before closing socket

Because we're closing a file descriptor, we need to disable any
Notifier that is using it so that the EventLoop does not use invalid
file descriptors.

Fixes #3508
This commit is contained in:
Tom 2020-09-16 09:45:28 -06:00 committed by Andreas Kling
parent d67553e128
commit d55e3c4642
Notes: sideshowbarker 2024-07-19 02:23:00 +09:00

View file

@ -115,6 +115,7 @@ public:
void shutdown()
{
m_notifier->close();
m_socket->close();
die();
}