Commit 8707aafa authored by Max Kellermann's avatar Max Kellermann

nfs/Connection: fix assertion failure

parent e5a28bfd
......@@ -223,7 +223,9 @@ NfsConnection::DestroyContext()
{
assert(context != nullptr);
if (SocketMonitor::IsDefined())
SocketMonitor::Cancel();
nfs_destroy_context(context);
context = nullptr;
}
......
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