mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-35827 - NPE: ConsoleViewImpl.clear
concurrent disposing
This commit is contained in:
@@ -326,8 +326,12 @@ public class ConsoleViewImpl extends JPanel implements ConsoleView, ObservableCo
|
||||
// real document content will be cleared on next flush;
|
||||
myContentSize = 0;
|
||||
myBuffer.clear();
|
||||
myHyperlinks.clearHyperlinks();
|
||||
myFolding.clear();
|
||||
|
||||
final EditorHyperlinkSupport hyperlinks = myHyperlinks;
|
||||
if (hyperlinks != null) {
|
||||
hyperlinks.clearHyperlinks();
|
||||
}
|
||||
}
|
||||
if (myFlushAlarm.isDisposed()) return;
|
||||
cancelAllFlushRequests();
|
||||
|
||||
Reference in New Issue
Block a user