mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 08:27:45 +00:00
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:
parent
d67553e128
commit
d55e3c4642
1 changed files with 1 additions and 0 deletions
|
@ -115,6 +115,7 @@ public:
|
||||||
|
|
||||||
void shutdown()
|
void shutdown()
|
||||||
{
|
{
|
||||||
|
m_notifier->close();
|
||||||
m_socket->close();
|
m_socket->close();
|
||||||
die();
|
die();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue