diff options
| author | oldmud0 <oldmud0@users.noreply.github.com> | 2022-01-06 08:23:41 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-06 08:23:41 -0600 |
| commit | 9f09af1c39e70d68f3ddf9bdc38a12e2b9ab2470 (patch) | |
| tree | ce81e975623a499d5ed898cc24f748a7414d597c /include/aolayer.h | |
| parent | 6e1e847750dc593bcb2571c9775b2db11661cdb2 (diff) | |
| parent | 77b017a0830410bc06fc4747d559b75e306dcdcc (diff) | |
Merge pull request #628 from AttorneyOnline/fix/msvc-aolayer-freeze
Fix MSVC builds freezing due to AOLayer concurrency issue
Diffstat (limited to 'include/aolayer.h')
| -rw-r--r-- | include/aolayer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/aolayer.h b/include/aolayer.h index b8907152..4d2629b8 100644 --- a/include/aolayer.h +++ b/include/aolayer.h @@ -148,7 +148,7 @@ private: // used in populate_vectors void load_next_frame(); - bool exit_loop; //awful solution but i'm not fucking using QThread + std::atomic_bool exit_loop; //awful solution but i'm not fucking using QThread QFuture<void> frame_loader; QMutex mutex; QWaitCondition frameAdded; |
