diff --git a/src/base/io/Watcher.cpp b/src/base/io/Watcher.cpp index 93b66643..b8ea4c3b 100644 --- a/src/base/io/Watcher.cpp +++ b/src/base/io/Watcher.cpp @@ -82,7 +82,7 @@ void xmrig::Watcher::reload() m_listener->onFileChanged(m_path); # ifndef _WIN32 - uv_fs_event_stop(&m_fsEvent); + uv_fs_event_stop(m_fsEvent); start(); # endif }