| 224 | } |
| 225 | |
| 226 | Service::ExistenceGuard::~ExistenceGuard() |
| 227 | { |
| 228 | try |
| 229 | { |
| 230 | existenceMutex->leave(); |
| 231 | } |
| 232 | catch (const Exception&) |
| 233 | { |
| 234 | DtorException::devHalt(); |
| 235 | } |
| 236 | } |
| 237 | |
| 238 | Service::UnlockGuard::UnlockGuard(Service* svc, const char* from) |
| 239 | : SafeMutexLock(svc, from), locked(false), doLock(false) |