Commit 43dccbd4 authored by Max Kellermann's avatar Max Kellermann

event/SocketMonitor: remove unused method Abandon()

parent 0ff43503
......@@ -64,15 +64,6 @@ SocketMonitor::Steal() noexcept
}
void
SocketMonitor::Abandon() noexcept
{
assert(IsDefined());
loop.Abandon(std::exchange(fd, SocketDescriptor::Undefined()).Get(),
*this);
}
void
SocketMonitor::Close() noexcept
{
Steal().Close();
......
......@@ -91,11 +91,6 @@ public:
*/
SocketDescriptor Steal() noexcept;
/**
* Somebody has closed the socket. Unregister this object.
*/
void Abandon() noexcept;
void Close() noexcept;
unsigned GetScheduledFlags() const noexcept {
......
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