MCPcopy Create free account
hub / github.com/CppMicroServices/CppMicroServices / Invalidate

Method Invalidate

framework/src/bundle/BundleContextPrivate.cpp:84–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 5

Stop2Method · 0.45
SetStateInstalledMethod · 0.45
UninstallMethod · 0.45
StartFailedMethod · 0.45
UninitSystemBundleMethod · 0.45

Calls 1

lockMethod · 0.80

Tested by

no test coverage detected