| 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() |
nothing calls this directly
no test coverage detected