| 82 | } |
| 83 | |
| 84 | void |
| 85 | BundleContextPrivate::Invalidate() |
| 86 | { |
| 87 | valid = false; |
| 88 | if (auto bundle_ = bundle.lock()) |
| 89 | { |
| 90 | if (bundle_->SetBundleContext) |
| 91 | { |
| 92 | bundle_->SetBundleContext(nullptr); |
| 93 | } |
| 94 | } |
| 95 | } |
| 96 | } // namespace cppmicroservices |
no test coverage detected