MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / quitNow

Method quitNow

Engine/AppManager.cpp:539–553  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

537}
538
539void
540AppManager::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
555void
556AppManager::quit(const AppInstancePtr& instance)

Callers 3

~AppManagerMethod · 0.45
exitAppMethod · 0.45

Calls 6

getNodes_recursiveMethod · 0.80
getProjectMethod · 0.80
emptyMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected