Prevent NPE in StoredWiringResolver when trying to delete bundle wiring
@@ -108,6 +108,8 @@ class StoredWiringResolver implements ResolverHook {
}
synchronized void delete(Bundle bundle) {
+ if (wiring.get(bundle.getBundleId()) != null) {
wiring.get(bundle.getBundleId()).delete(path);
}
}
+}
