[jboss-jira] [JBoss JIRA] Created: (JBCLUSTER-152) Cannot unregister membership listener
Tamas Barta (JIRA)
jira-events at jboss.com
Mon Nov 6 05:05:41 EST 2006
Cannot unregister membership listener
-------------------------------------
Key: JBCLUSTER-152
URL: http://jira.jboss.com/jira/browse/JBCLUSTER-152
Project: JBoss Clustering
Issue Type: Bug
Security Level: Public (Everyone can see)
Environment: Doesn't matter
Reporter: Tamas Barta
Assigned To: Brian Stansberry
org.jboss.ha.framework.server.HAPartitiomImpl.java:
public void unregisterMembershipListener(HAMembershipListener listener)
{
boolean isAsynch = (this.allowSyncListeners == false)
|| (listener instanceof AsynchHAMembershipListener)
|| (listener instanceof AsynchHAMembershipExtendedListener);
if( isAsynch ) {
synchronized(this.asynchListeners) {
this.asynchListeners.add(listener);
}
}
else {
synchronized(this.synchListeners) {
this.synchListeners.add(listener);
}
}
}
"synchListeners.add" should be "synchListeners.remove"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list