Fix bad application quitting with multiple windows

This commit is contained in:
Lorenzooone
2024-04-26 00:15:50 +02:00
parent 1938d01e91
commit cea5a4e40b
3 changed files with 17 additions and 3 deletions

View File

@@ -356,6 +356,10 @@ void mainVideoOutputCall(AudioData* audio_data, CaptureData* capture_data) {
bot_thread.join();
joint_thread.join();
top_screen.after_thread_join();
bot_screen.after_thread_join();
joint_screen.after_thread_join();
if (!skip_io) {
save(base_path, base_name, top_screen.m_info, bot_screen.m_info, joint_screen.m_info, display_data, audio_data, out_text_data);
}