GUI: make backupTimer atomic

This commit is contained in:
tildearrow 2022-05-16 03:09:59 -05:00
parent 409d3c26af
commit c5259066e1
2 changed files with 2 additions and 2 deletions

View file

@ -799,7 +799,7 @@ class FurnaceGUI {
double aboutScroll, aboutSin;
float aboutHue;
double backupTimer;
std::atomic<double> backupTimer;
std::future<bool> backupTask;
std::mutex backupLock;
String backupPath;