| 175 | } |
| 176 | |
| 177 | static void wtOperationStop() |
| 178 | { |
| 179 | OperationState state = |
| 180 | failed ? OperationState::Failed : OperationState::Succeeded; |
| 181 | busy = false; |
| 182 | hex::TaskManager::doLaterOnce( |
| 183 | [=]() |
| 184 | { |
| 185 | Events::OperationStop::post(state); |
| 186 | Events::DiskActivityNotification::post( |
| 187 | DiskActivityType::None, 0, 0); |
| 188 | }); |
| 189 | } |
| 190 | |
| 191 | template <typename T> |
| 192 | static T readSetting(const std::string& leaf, const T defaultValue) |
no outgoing calls
no test coverage detected