| 144 | } |
| 145 | |
| 146 | void Notification::Stop(bool runtimeRemoved) |
| 147 | { |
| 148 | ObjectImpl<Notification>::Stop(runtimeRemoved); |
| 149 | |
| 150 | Checkable::Ptr obj = GetCheckable(); |
| 151 | |
| 152 | if (obj) |
| 153 | obj->UnregisterNotification(this); |
| 154 | |
| 155 | for (const UserGroup::Ptr& group : GetUserGroups()) |
| 156 | group->RemoveNotification(this); |
| 157 | } |
| 158 | |
| 159 | Checkable::Ptr Notification::GetCheckable() const |
| 160 | { |
nothing calls this directly
no test coverage detected