Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Nelson-numerical-software committed Aug 5, 2021
1 parent 3ea93c0 commit 10c87b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/interpreter/src/cpp/FileWatcherManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ void
FileWatcherManager::removeWatch(const std::wstring& directory)
{
std::lock_guard<std::mutex> lock(m_mutex);
if (directory.empty())
return;
std::string uniformizedPath = utf8UniformizePath(directory);
std::map<std::string, std::pair<long, int>>::iterator it = watchIDsMap.find(uniformizedPath);
if (it != watchIDsMap.end()) {
Expand Down

0 comments on commit 10c87b0

Please sign in to comment.