| 406 | } |
| 407 | |
| 408 | void updateCheckStop() |
| 409 | { |
| 410 | obs_log(LOG_DEBUG, "+updateCheckStop()"); |
| 411 | #ifdef UPDATE_REQUEST_QT |
| 412 | if (update_reply) { |
| 413 | if (update_reply->isRunning()) { |
| 414 | update_reply->abort(); |
| 415 | } |
| 416 | update_reply->deleteLater(); |
| 417 | update_reply = nullptr; |
| 418 | } |
| 419 | #endif |
| 420 | if (update_request) { |
| 421 | if (update_request->isRunning()) { |
| 422 | update_request->exit(1); |
| 423 | } |
| 424 | } |
| 425 | obs_log(LOG_DEBUG, "-updateCheckStop()"); |
| 426 | } |
| 427 | |
| 428 | bool updateCheckStart(UserRequestCallback userRequestCallback) |
| 429 | { |
no outgoing calls
no test coverage detected