| 537 | } |
| 538 | |
| 539 | void |
| 540 | AppManager::quitNow(const AppInstancePtr& instance) |
| 541 | { |
| 542 | NodesList nodesToWatch; |
| 543 | |
| 544 | instance->getProject()->getNodes_recursive(nodesToWatch, false); |
| 545 | if ( !nodesToWatch.empty() ) { |
| 546 | for (NodesList::iterator it = nodesToWatch.begin(); it != nodesToWatch.end(); ++it) { |
| 547 | (*it)->quitAnyProcessing_blocking(false); |
| 548 | } |
| 549 | } |
| 550 | QuitInstanceArgsPtr args = std::make_shared<QuitInstanceArgs>(); |
| 551 | args->instance = instance; |
| 552 | afterQuitProcessingCallback(args); |
| 553 | } |
| 554 | |
| 555 | void |
| 556 | AppManager::quit(const AppInstancePtr& instance) |
no test coverage detected