mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Interrupt of update of memory view when session resumed or tab hidden
This commit is contained in:
@@ -389,6 +389,7 @@ public class ClassesFilteredView extends BorderLayoutPanel implements Disposable
|
||||
|
||||
private void doPause() {
|
||||
myDebugSessionListener.setActive(false);
|
||||
mySingleAlarm.cancelAllRequests();
|
||||
myConstructorTrackedClasses.values().forEach(x -> x.setBackgroundMode(true));
|
||||
}
|
||||
|
||||
@@ -565,12 +566,14 @@ public class ClassesFilteredView extends BorderLayoutPanel implements Disposable
|
||||
myTable.getEmptyText().setText(EMPTY_TABLE_CONTENT_WHEN_RUNNING);
|
||||
myTable.hideContent();
|
||||
});
|
||||
|
||||
mySingleAlarm.cancelAllRequests();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void sessionStopped() {
|
||||
mySingleAlarm.cancelAllRequests();
|
||||
ApplicationManager.getApplication().invokeLater(() -> {
|
||||
myTable.getEmptyText().setText(EMPTY_TABLE_CONTENT_WHEN_STOPPED);
|
||||
myTable.clean();
|
||||
|
||||
Reference in New Issue
Block a user