diff options
| author | Stefan Boberg <[email protected]> | 2022-01-25 15:16:04 +0100 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2022-01-25 15:16:04 +0100 |
| commit | 080b73be664064d13eb88e53cd627ef859aa7da8 (patch) | |
| tree | 1614a7637a33551e46dcb53ebb0e92d02a26b4f7 /zenstore | |
| parent | Implemented support for storing compressed buffers as values in structured ca... (diff) | |
| parent | Cachepolicy (#36) (diff) | |
| download | zen-080b73be664064d13eb88e53cd627ef859aa7da8.tar.xz zen-080b73be664064d13eb88e53cd627ef859aa7da8.zip | |
Merge branch 'main' of https://github.com/EpicGames/zen
Diffstat (limited to 'zenstore')
| -rw-r--r-- | zenstore/gc.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/zenstore/gc.cpp b/zenstore/gc.cpp index 0e93f1c3d..7be93b4af 100644 --- a/zenstore/gc.cpp +++ b/zenstore/gc.cpp @@ -404,7 +404,10 @@ GcScheduler::Shutdown() m_Status = static_cast<uint32_t>(GcSchedulerStatus::kStopped); m_GcSignal.notify_one(); - m_GcThread.join(); + if (m_GcThread.joinable()) + { + m_GcThread.join(); + } } } |