Adds missing DependencyManager:clear to destroy activator
@@ -86,6 +86,7 @@ namespace celix {
std::weak_ptr<celix::BundleContext> ctx = data->ctx;
std::weak_ptr<celix::dm::DependencyManager> dm = data->dm;
data->bundleActivator = nullptr;
+ data->dm->clear();
data->dm = nullptr;
data->ctx = nullptr;
waitForExpired(data->bndId, ctx, "celix::BundleContext", ctx);
