mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-18 07:08:18 +00:00
@ -613,7 +613,11 @@ class Genode::Watcher
|
|||||||
_watch(fs, alloc, rel_path, handler);
|
_watch(fs, alloc, rel_path, handler);
|
||||||
}
|
}
|
||||||
|
|
||||||
~Watcher() { _handle->fs().close(_handle); }
|
~Watcher()
|
||||||
|
{
|
||||||
|
if (_handle)
|
||||||
|
_handle->fs().close(_handle);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user