lib/nfs/Connection: add assertions
This commit is contained in:
parent
7fa1a84ec3
commit
32bca64920
@ -380,6 +380,8 @@ NfsConnection::DeferClose(struct nfsfh *fh)
|
||||
assert(GetEventLoop().IsInside());
|
||||
assert(in_event);
|
||||
assert(in_service);
|
||||
assert(context != nullptr);
|
||||
assert(fh != nullptr);
|
||||
|
||||
deferred_close.push_front(fh);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user