parent
28bc28e30d
commit
941a440046
|
@ -308,13 +308,9 @@ public class LicensesService extends AbstractLifecycleComponent<LicensesService>
|
||||||
if (!event.state().blocks().hasGlobalBlock(GatewayService.STATE_NOT_RECOVERED_BLOCK)) {
|
if (!event.state().blocks().hasGlobalBlock(GatewayService.STATE_NOT_RECOVERED_BLOCK)) {
|
||||||
|
|
||||||
if (!pendingRegistrations.isEmpty()) {
|
if (!pendingRegistrations.isEmpty()) {
|
||||||
while (true) {
|
ListenerHolder pendingRegistrationLister;
|
||||||
ListenerHolder pendingRegistrationLister = pendingRegistrations.poll();
|
while ((pendingRegistrationLister = pendingRegistrations.poll()) != null) {
|
||||||
if (pendingRegistrationLister != null) {
|
registerListener(pendingRegistrationLister);
|
||||||
registerListener(pendingRegistrationLister);
|
|
||||||
} else {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue