if (asyncBundleEvents.contains(type)) {
for (BundleListenerRegistration blreg : registrations) {
ModuleListener listener = blreg.listener;
try {
if (!(listener instanceof SynchronousModuleListener)) {
listener.moduleChanged(event);
}
} catch (Throwable th) {
LOGGER.warn("Error while firing module event " + typeName + " for: " + module, th);
}
}