Potentially fixes #566
This commit is contained in:
@@ -1930,9 +1930,13 @@ namespace video {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
shutdown_event->view();
|
while (true) {
|
||||||
|
if (shutdown_event->peek() || !images->running() || (reinit_event.peek())) {
|
||||||
return;
|
return;
|
||||||
|
} else {
|
||||||
|
std::this_thread::sleep_for(300ms);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
std::chrono::steady_clock::time_point next_frame_start;
|
std::chrono::steady_clock::time_point next_frame_start;
|
||||||
|
|||||||
Reference in New Issue
Block a user