Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.emf.cdo.server.security/src/org/eclipse/emf/cdo/server/internal/security/SecurityManager.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server.security/src/org/eclipse/emf/cdo/server/internal/security/SecurityManager.java b/plugins/org.eclipse.emf.cdo.server.security/src/org/eclipse/emf/cdo/server/internal/security/SecurityManager.java
index 3b9c012cdf..854049bdfc 100644
--- a/plugins/org.eclipse.emf.cdo.server.security/src/org/eclipse/emf/cdo/server/internal/security/SecurityManager.java
+++ b/plugins/org.eclipse.emf.cdo.server.security/src/org/eclipse/emf/cdo/server/internal/security/SecurityManager.java
@@ -187,6 +187,7 @@ public class SecurityManager extends Lifecycle implements InternalSecurityManage
public void addCommitHandler(CommitHandler handler)
{
+ checkInactive();
synchronized (commitHandlers)
{
if (!commitHandlers.contains(handler))
@@ -198,6 +199,7 @@ public class SecurityManager extends Lifecycle implements InternalSecurityManage
public void removeCommitHandler(CommitHandler handler)
{
+ checkInactive();
synchronized (commitHandlers)
{
commitHandlers.remove(handler);

Back to the top