Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2013-04-12 09:13:25 -0400
committerUwe Stieber2013-04-12 09:13:25 -0400
commit80389121ae3c37545dd5e4c5d0cc87ddf030b3bb (patch)
treef112d86848aacafacdf3ba0de23aeecdb27b4b5f /plugins
parentccf1b162686a47401aee384afb648b699c030cc3 (diff)
downloadorg.eclipse.tcf-80389121ae3c37545dd5e4c5d0cc87ddf030b3bb.tar.gz
org.eclipse.tcf-80389121ae3c37545dd5e4c5d0cc87ddf030b3bb.tar.xz
org.eclipse.tcf-80389121ae3c37545dd5e4c5d0cc87ddf030b3bb.zip
Target Explorer: Fix a set of shutdown issues
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.tcf/src/org/eclipse/tcf/EventQueue.java8
1 files changed, 1 insertions, 7 deletions
diff --git a/plugins/org.eclipse.tcf/src/org/eclipse/tcf/EventQueue.java b/plugins/org.eclipse.tcf/src/org/eclipse/tcf/EventQueue.java
index 97c234f45..5a09b231f 100644
--- a/plugins/org.eclipse.tcf/src/org/eclipse/tcf/EventQueue.java
+++ b/plugins/org.eclipse.tcf/src/org/eclipse/tcf/EventQueue.java
@@ -12,7 +12,6 @@ package org.eclipse.tcf;
import java.util.LinkedList;
-import org.eclipse.core.runtime.Platform;
import org.eclipse.core.runtime.jobs.IJobChangeEvent;
import org.eclipse.core.runtime.jobs.IJobChangeListener;
import org.eclipse.core.runtime.jobs.Job;
@@ -103,12 +102,7 @@ class EventQueue implements IEventQueue, Runnable {
public synchronized void invokeLater(final Runnable r) {
assert r != null;
- if (shutdown) {
- // If not in debug mode, silently ignore this case to avoid
- // confusion and bad impression to the user.
- if (Platform.inDebugMode()) throw new IllegalStateException("TCF event dispatcher has shut down"); //$NON-NLS-1$
- return;
- }
+ if (shutdown) throw new IllegalStateException("TCF event dispatcher has shut down"); //$NON-NLS-1$
queue.add(r);
if (waiting) {
waiting = false;

Back to the top