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

Method Stop0

framework/src/bundle/BundlePrivate.cpp:105–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103 }
104
105 std::exception_ptr
106 BundlePrivate::Stop0()
107 {
108 wasStarted = state == Bundle::STATE_ACTIVE;
109 state = Bundle::STATE_STOPPING;
110 operation = OP_DEACTIVATING;
111
112 std::exception_ptr savedException = Stop1();
113 if (state != Bundle::STATE_UNINSTALLED)
114 {
115 state = Bundle::STATE_RESOLVED;
116 coreCtx->listeners.BundleChanged({ BundleEvent::BUNDLE_STOPPED, MakeBundle(shared_from_this()) });
117 operation = OP_IDLE;
118 }
119 return savedException;
120 }
121
122 std::exception_ptr
123 BundlePrivate::Stop1()

Callers

nothing calls this directly

Calls 2

MakeBundleFunction · 0.85
BundleChangedMethod · 0.45

Tested by

no test coverage detected