lib/nfs/Connection: add assertion
This commit is contained in:
parent
02563a35f0
commit
1d3a09d377
@ -501,6 +501,8 @@ NfsConnection::OnSocketReady(unsigned flags)
|
||||
closed = true;
|
||||
}
|
||||
|
||||
assert(context == nullptr || nfs_get_fd(context) >= 0);
|
||||
|
||||
#ifndef NDEBUG
|
||||
assert(in_event);
|
||||
in_event = false;
|
||||
|
Loading…
Reference in New Issue
Block a user