diff --git a/aegisub/src/frame_main.cpp b/aegisub/src/frame_main.cpp index b79a4201b..0976a89e4 100644 --- a/aegisub/src/frame_main.cpp +++ b/aegisub/src/frame_main.cpp @@ -548,6 +548,8 @@ BEGIN_EVENT_TABLE(FrameMain, wxFrame) END_EVENT_TABLE() void FrameMain::OnCloseWindow(wxCloseEvent &event) { + wxEventBlocker blocker(this, wxEVT_CLOSE_WINDOW); + context->videoController->Stop(); context->audioController->Stop();