This closes #439

This commit is contained in:
Clebert Suconic 2016-04-07 10:51:59 -04:00
commit cf4636e96c
1 changed files with 1 additions and 1 deletions

View File

@ -1239,7 +1239,7 @@ public class JMSServerManagerImpl implements JMSServerManager, ActivateCallback
checkInitialised(); checkInitialised();
List<String> registryBindings = connectionFactoryBindings.get(name); List<String> registryBindings = connectionFactoryBindings.get(name);
if (registry != null) { if (registry != null && registryBindings != null) {
for (String registryBinding : registryBindings) { for (String registryBinding : registryBindings) {
registry.unbind(registryBinding); registry.unbind(registryBinding);
} }