Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Faltermeier2019-10-08 13:42:29 +0000
committerJohannes Faltermeier2019-10-16 10:51:38 +0000
commit5458a74722ffb7c3784bc253d11c9d4a6b0d06b8 (patch)
tree6e48bfbe779bc114de6c2a2f41b2a579e574e0d7
parent658539c340ae95767b0b9f63c9a973b072276200 (diff)
downloadeclipse.platform.debug-I20191020-1800.tar.gz
eclipse.platform.debug-I20191020-1800.tar.xz
eclipse.platform.debug-I20191020-1800.zip
* don't perform update if table cursor is disposed Change-Id: Ic07fcb496cbd741c9e1f42e45a099be9fffeddba Signed-off-by: Johannes Faltermeier <jfaltermeier@eclipsesource.com>
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/AsyncTableRenderingViewer.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/AsyncTableRenderingViewer.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/AsyncTableRenderingViewer.java
index 0e3ad4d09..c57c7bf8e 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/AsyncTableRenderingViewer.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/AsyncTableRenderingViewer.java
@@ -1029,9 +1029,13 @@ public class AsyncTableRenderingViewer extends AsyncVirtualContentTableViewer {
@Override
protected void updateComplete(IStatusMonitor monitor) {
+ if (fTableCursor.isDisposed()) {
+ return;
+ }
+
super.updateComplete(monitor);
- if (!hasPendingUpdates() && !fTableCursor.isDisposed())
+ if (!hasPendingUpdates())
{
attemptSetKeySelection();
fTableCursor.redraw();

Back to the top