lib/nfs/Connection: unregister socket with SocketMonitor::Steal()
SocketMonitor::Cancel() does not actually unregister the socket; it only disables the event.
This commit is contained in:
parent
82da364b8b
commit
7e8474a85a
@ -391,7 +391,7 @@ NfsConnection::DestroyContext()
|
||||
DeferredMonitor::Cancel();
|
||||
|
||||
if (SocketMonitor::IsDefined())
|
||||
SocketMonitor::Cancel();
|
||||
SocketMonitor::Steal();
|
||||
|
||||
callbacks.ForEach([](CancellableCallback &c){
|
||||
c.PrepareDestroyContext();
|
||||
|
Loading…
Reference in New Issue
Block a user