Potentially fixes #566

This commit is contained in:
Yukino Song
2025-04-01 23:08:00 +08:00
parent e271592408
commit 535a89b2ec

View File

@@ -1930,9 +1930,13 @@ namespace video {
return;
}
shutdown_event->view();
return;
while (true) {
if (shutdown_event->peek() || !images->running() || (reinit_event.peek())) {
return;
} else {
std::this_thread::sleep_for(300ms);
}
}
}
std::chrono::steady_clock::time_point next_frame_start;