diff options
author | Jonathan White <support@dmapps.us> | 2020-04-22 16:37:58 +0300 |
---|---|---|
committer | Jonathan White <support@dmapps.us> | 2020-04-27 21:54:57 +0300 |
commit | 1a3dc2145dbb6cb618142b99ddb4cab650a61bd1 (patch) | |
tree | 265c6763d7e2bbf27036878eccc51c5f6449516f /src/core/FileWatcher.cpp | |
parent | 7f98323962f0df87933c4411ab0bd4b32a9eb3d5 (diff) |
Stop file checksum compare when stop is called
* When FileWatcher::stop() is called, also stop the timer that checks the file checksum every 30 seconds.
Diffstat (limited to 'src/core/FileWatcher.cpp')
-rw-r--r-- | src/core/FileWatcher.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/FileWatcher.cpp b/src/core/FileWatcher.cpp index 0619a3cbf..eab27c214 100644 --- a/src/core/FileWatcher.cpp +++ b/src/core/FileWatcher.cpp @@ -87,6 +87,7 @@ void FileWatcher::stop() } m_filePath.clear(); m_fileChecksum.clear(); + m_fileChecksumTimer.stop(); m_fileChangeDelayTimer.stop(); } |