mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
FileDocumentManagerImpl: replace deprecated transaction call
GitOrigin-RevId: 64fba71e4c62b9cfc2c867a2044b967f34046ce5
This commit is contained in:
committed by
intellij-monorepo-bot
parent
faee0759ff
commit
b42fa927d7
+1
-1
@@ -282,7 +282,7 @@ public class FileDocumentManagerImpl extends FileDocumentManager implements Safe
|
||||
|
||||
private void saveAllDocumentsLater() {
|
||||
// later because some document might have been blocked by PSI right now
|
||||
TransactionGuard.getInstance().submitTransactionLater(ApplicationManager.getApplication(), () -> {
|
||||
ApplicationManager.getApplication().invokeLater(() -> {
|
||||
final Document[] unsavedDocuments = getUnsavedDocuments();
|
||||
for (Document document : unsavedDocuments) {
|
||||
VirtualFile file = getFile(document);
|
||||
|
||||
Reference in New Issue
Block a user