mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-02-20 17:05:51 +00:00
ARTEMIS-467 Potential NPE
This commit is contained in:
parent
87b6984c36
commit
dbf0eced4b
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user