Skip to content

Commit

Permalink
fix(src/core/file_system_watcher.cc): fix missing 'uv_loop_init' call
Browse files Browse the repository at this point in the history
  • Loading branch information
jwerle committed Nov 28, 2023
1 parent be68259 commit 1cf8880
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/file_system_watcher.cc
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ namespace SSC {
if (this->loop == nullptr) {
this->loop = uv_loop_new();
this->thread = new std::thread(&poll, this);
if (uv_loop_init(this->loop) != 0) {
return false;
}
}

for (const auto& path : this->paths) {
Expand Down

0 comments on commit 1cf8880

Please sign in to comment.