lib/nfs/Connection: add method GetEventLoop()
This commit is contained in:
parent
777360149d
commit
0470f648c6
@ -123,7 +123,7 @@ events_to_libnfs(unsigned i)
|
||||
|
||||
NfsConnection::~NfsConnection()
|
||||
{
|
||||
assert(SocketMonitor::GetEventLoop().IsInside());
|
||||
assert(GetEventLoop().IsInside());
|
||||
assert(new_leases.empty());
|
||||
assert(active_leases.empty());
|
||||
assert(callbacks.IsEmpty());
|
||||
|
@ -133,6 +133,10 @@ protected:
|
||||
virtual void OnNfsConnectionError(Error &&error) = 0;
|
||||
|
||||
private:
|
||||
EventLoop &GetEventLoop() {
|
||||
return SocketMonitor::GetEventLoop();
|
||||
}
|
||||
|
||||
void DestroyContext();
|
||||
bool MountInternal(Error &error);
|
||||
void BroadcastMountSuccess();
|
||||
|
Loading…
Reference in New Issue
Block a user