Skip to content

Commit 95891e5

Browse files
committed
fixed race condition
1 parent 37c5246 commit 95891e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mainwindow.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,9 @@ void MainWindow::refresh() {
143143

144144
if (renderProcess != NULL) {
145145
refreshTimer->start(1000); // wait for old rendering to finish
146+
} else {
147+
compile();
146148
}
147-
148-
compile();
149149
}
150150
}
151151
}

0 commit comments

Comments
 (0)