From 17f204ca6602da434f91b50714ffaee1d5f4331c Mon Sep 17 00:00:00 2001 From: peter Date: Mon, 12 Sep 2016 15:59:49 +0200 Subject: [PATCH] handle jb protocol commands in write-safe context (EA-88277 - assert: FileDocumentManagerImpl.saveAllDocuments) --- .../src/com/intellij/ide/CommandLineProcessor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/platform-impl/src/com/intellij/ide/CommandLineProcessor.java b/platform/platform-impl/src/com/intellij/ide/CommandLineProcessor.java index 035135934acc..04ec2228340e 100644 --- a/platform/platform-impl/src/com/intellij/ide/CommandLineProcessor.java +++ b/platform/platform-impl/src/com/intellij/ide/CommandLineProcessor.java @@ -151,7 +151,7 @@ public class CommandLineProcessor { try { final String url = URLDecoder.decode(command, "UTF-8"); JetBrainsProtocolHandler.processJetBrainsLauncherParameters(url); - ApplicationManager.getApplication().invokeLater(() -> JBProtocolCommand.handleCurrentCommand(), ModalityState.any()); + ApplicationManager.getApplication().invokeLater(() -> JBProtocolCommand.handleCurrentCommand()); } catch (UnsupportedEncodingException e) { LOG.error(e);