ARTEMIS-467 Potential NPE

This commit is contained in:
jbertram 2016-04-05 11:19:04 -05:00 committed by Clebert Suconic
parent 87b6984c36
commit dbf0eced4b
1 changed files with 1 additions and 1 deletions

View File

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