Commit 7e8474a8 authored by Max Kellermann's avatar Max Kellermann

lib/nfs/Connection: unregister socket with SocketMonitor::Steal()

SocketMonitor::Cancel() does not actually unregister the socket; it only disables the event.
parent 82da364b
......@@ -391,7 +391,7 @@ NfsConnection::DestroyContext()
DeferredMonitor::Cancel();
if (SocketMonitor::IsDefined())
SocketMonitor::Cancel();
SocketMonitor::Steal();
callbacks.ForEach([](CancellableCallback &c){
c.PrepareDestroyContext();
......
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