Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrescobar2010-09-28 22:22:25 -0400
committerRyan D. Brooks2010-09-28 22:22:25 -0400
commit82a1d6fe3db02b6879f9c50756520aa56740d2ec (patch)
treeb83d7d70396a5e0035e050f5bf2d609ab2ba690a /plugins
parent77c3684c70c88231e6be92556bd5bf117337bd56 (diff)
downloadorg.eclipse.osee-82a1d6fe3db02b6879f9c50756520aa56740d2ec.tar.gz
org.eclipse.osee-82a1d6fe3db02b6879f9c50756520aa56740d2ec.tar.xz
org.eclipse.osee-82a1d6fe3db02b6879f9c50756520aa56740d2ec.zip
bug: Prevent OseeEventManager from sending events during dbInit
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/event/OseeEventManager.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/event/OseeEventManager.java b/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/event/OseeEventManager.java
index a291afc7e1..a44907e2fe 100644
--- a/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/event/OseeEventManager.java
+++ b/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/event/OseeEventManager.java
@@ -44,6 +44,7 @@ import org.eclipse.osee.framework.skynet.core.event.model.TransactionEvent;
import org.eclipse.osee.framework.skynet.core.event.systems.EventManagerData;
import org.eclipse.osee.framework.skynet.core.event.systems.InternalEventManager;
import org.eclipse.osee.framework.skynet.core.internal.Activator;
+import org.eclipse.osee.framework.skynet.core.utility.DbUtil;
/**
* Front end to OSEE events. Provides ability to add and remove different event listeners as well as the ability to kick
@@ -156,7 +157,9 @@ public class OseeEventManager {
if (isDisableEvents()) {
return;
}
- getEventManager().kickLocalRemEvent(createSender(source), remoteEventServiceEventType);
+ if (!DbUtil.isDbInit()) {
+ getEventManager().kickLocalRemEvent(createSender(source), remoteEventServiceEventType);
+ }
}
// Kick LOCAL and REMOTE broadcast event

Back to the top