| 181 | } |
| 182 | |
| 183 | void |
| 184 | BundlePrivate::Stop2() |
| 185 | { |
| 186 | // Call hooks after we've called BundleActivator::Stop(), but before we've |
| 187 | // cleared all resources |
| 188 | std::shared_ptr<BundleContextPrivate> ctx = bundleContext.Load(); |
| 189 | if (ctx) |
| 190 | { |
| 191 | coreCtx->listeners.HooksBundleStopped(ctx); |
| 192 | RemoveBundleResources(); |
| 193 | ctx->Invalidate(); |
| 194 | bundleContext.Store(std::shared_ptr<BundleContextPrivate>()); |
| 195 | } |
| 196 | } |
| 197 | |
| 198 | Bundle::State |
| 199 | BundlePrivate::GetUpdatedState() |
nothing calls this directly
no test coverage detected