Close editors on session destructions.

This commit is contained in:
John Preston
2026-06-15 16:41:35 +04:00
parent f7c2ff3896
commit a47aad46ac
3 changed files with 70 additions and 0 deletions
@@ -46,6 +46,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "iv/iv_delegate_impl.h"
#include "iv/iv_instance.h"
#include "iv/iv_data.h"
#include "iv/editor/iv_editor_session.h"
#include "lang/lang_translator.h"
#include "lang/lang_cloud_manager.h"
#include "lang/lang_hardcoded.h"
@@ -214,6 +215,7 @@ void Application::closeAdditionalWindows() {
}
}
_iv->closeAll();
Iv::Editor::CloseAllWindows();
}
Application::~Application() {