lib/nfs/Connection: add assertions

This commit is contained in:
Max Kellermann 2014-12-14 15:40:29 +01:00
parent 7fa1a84ec3
commit 32bca64920

View File

@ -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);
}