[jboss-jira] [JBoss JIRA] (JGRP-1642) Protocol should be stopped when removed from protocol stack
Bela Ban (JIRA)
jira-events at lists.jboss.org
Thu Jun 6 10:00:55 EDT 2013
[ https://issues.jboss.org/browse/JGRP-1642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bela Ban updated JGRP-1642:
---------------------------
Fix Version/s: 3.4
Combine removeProtocol(String) and removeProtocol(Class) into 1 method. The former actually *does* call stop() and destroy().
> Protocol should be stopped when removed from protocol stack
> -----------------------------------------------------------
>
> Key: JGRP-1642
> URL: https://issues.jboss.org/browse/JGRP-1642
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 3.3.1
> Reporter: Karim AMMOUS
> Assignee: Bela Ban
> Fix For: 3.4
>
>
> A call to method ProtocolStack.removeProtocol(Class prot) remove the protocol without stopping it.
> This is particularly important for protocols having many resources (threads, sockets...) like RELAY2.
> Note that method ProtocolStack.removeProtocol(Class ... protocols) retire perfectly protocols.
> This could be fixed by simply moving calls to methods stop and destroy from second remove method to first one.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list