Skip to content

Commit

Permalink
Fix data race with m_clearSignal
Browse files Browse the repository at this point in the history
  • Loading branch information
sakertooth committed Aug 30, 2023
1 parent 5328eb0 commit d493790
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/AudioEngine.h
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ class LMMS_EXPORT AudioEngine : public QObject

bool m_metronomeActive;

bool m_clearSignal;
std::atomic<bool> m_clearSignal;

bool m_changesSignal;
unsigned int m_changes;
Expand Down

0 comments on commit d493790

Please sign in to comment.