mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fix ArrayIndexOutOfBoundsException when session stopped
This commit is contained in:
@@ -277,6 +277,7 @@ public class ClassesTable extends JBTable implements DataProvider, Disposable {
|
||||
public void clean() {
|
||||
if (!myItems.isEmpty()) {
|
||||
ApplicationManager.getApplication().invokeLater(() -> {
|
||||
clearSelection();
|
||||
myItems = Collections.emptyList();
|
||||
myCounts.clear();
|
||||
getRowSorter().allRowsChanged();
|
||||
|
||||
Reference in New Issue
Block a user