Commit 521e573b authored by Max Kellermann's avatar Max Kellermann

event/SocketEvent: use EventLoop::AbandonFD() in Close()

parent abf9ae2d
......@@ -53,7 +53,8 @@ SocketEvent::Close() noexcept
if (!fd.IsDefined())
return;
Steal().Close();
loop.AbandonFD(fd.Get());
fd.Close();
}
bool
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment