lib/nfs/FileReader: use nfs_get_event_loop()
Make sure we're using the same EventLoop as the NfsManager.
This commit is contained in:
@@ -50,8 +50,7 @@ public:
|
||||
NfsInputStream(const char *_uri, Mutex &_mutex, Cond &_cond)
|
||||
:AsyncInputStream(io_thread_get(), _uri, _mutex, _cond,
|
||||
NFS_MAX_BUFFERED,
|
||||
NFS_RESUME_AT),
|
||||
NfsFileReader(io_thread_get()) {}
|
||||
NFS_RESUME_AT) {}
|
||||
|
||||
virtual ~NfsInputStream() {
|
||||
DeferClose();
|
||||
|
||||
Reference in New Issue
Block a user