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

Method closeProject_blocking

Engine/Project.cpp:2005–2020  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2003} // Project::reset
2004
2005void
2006Project::closeProject_blocking(bool aboutToQuit)
2007{
2008 assert( QThread::currentThread() == qApp->thread() );
2009 {
2010 QMutexLocker k(&_imp->projectClosingMutex);
2011 _imp->projectClosing = true;
2012 }
2013 NodesList nodesToWatch;
2014 getNodes_recursive(nodesToWatch, false);
2015 for (NodesList::iterator it = nodesToWatch.begin(); it != nodesToWatch.end(); ++it) {
2016 (*it)->quitAnyProcessing_blocking(false);
2017 }
2018
2019 doResetEnd(aboutToQuit);
2020}
2021
2022void
2023Project::doResetEnd(bool aboutToQuit)

Callers 1

abortProjectMethod · 0.80

Calls 3

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected