diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2020-04-17 10:31:47 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-17 10:31:47 -0400 |
| commit | 855650215f5011082f6a3fa4dcfb69b040367911 (patch) | |
| tree | c744c49d7c62c1051c99a12b793377ae40113e1f /src/envfs.cpp | |
| parent | ff912b5f6199ade55a4eaff1c8e7eefb8145c970 (diff) | |
| parent | 21166f820bc793111ad40a950807dc84e961fad5 (diff) | |
Merge pull request #1054 from isanae/bunch-of-fixes
Bunch of fixes
Diffstat (limited to 'src/envfs.cpp')
| -rw-r--r-- | src/envfs.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/envfs.cpp b/src/envfs.cpp index a67faf84..4aaef082 100644 --- a/src/envfs.cpp +++ b/src/envfs.cpp @@ -173,7 +173,11 @@ public: void wakeup() { - m_ready = true; + { + std::unique_lock lock(m_mutex); + m_ready = true; + } + m_cv.notify_one(); } |
