From a331743dcdbb2852e622e6c67350eaaba83c8ec1 Mon Sep 17 00:00:00 2001 From: Rustam Vishnyakov Date: Mon, 25 Nov 2019 14:50:11 +0300 Subject: [PATCH] Consider document save on frame deactivation as implicit GitOrigin-RevId: 2ca093a56281fcef69798f3c04d1a6674bd49f1b --- platform/configuration-store-impl/src/SaveAndSyncHandlerImpl.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/configuration-store-impl/src/SaveAndSyncHandlerImpl.kt b/platform/configuration-store-impl/src/SaveAndSyncHandlerImpl.kt index 84f18c22688b..c73c8109a1c2 100644 --- a/platform/configuration-store-impl/src/SaveAndSyncHandlerImpl.kt +++ b/platform/configuration-store-impl/src/SaveAndSyncHandlerImpl.kt @@ -133,7 +133,7 @@ internal class SaveAndSyncHandlerImpl : BaseSaveAndSyncHandler(), Disposable { } // for web development it is crucially important to save documents on frame deactivation as early as possible - FileDocumentManager.getInstance().saveAllDocuments() + (FileDocumentManager.getInstance() as FileDocumentManagerImpl).saveAllDocuments(false) if (addToSaveQueue(saveAppAndProjectsSettingsTask)) { // do not cancel if there is already request - opposite to scheduleSave,