mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-52976 - assert: CodeFoldingManagerImpl.releaseFoldings
This commit is contained in:
+1
-1
@@ -183,7 +183,7 @@ public class CodeFoldingManagerImpl extends CodeFoldingManager implements Projec
|
||||
|
||||
@Override
|
||||
public void releaseFoldings(@NotNull Editor editor) {
|
||||
ApplicationManager.getApplication().assertIsDispatchThread();
|
||||
ApplicationManagerEx.getApplicationEx().assertIsDispatchThread(editor.getComponent());
|
||||
final Project project = editor.getProject();
|
||||
if (project != null && (!project.equals(myProject) || !project.isOpen())) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user