| 2003 | } // Project::reset |
| 2004 | |
| 2005 | void |
| 2006 | Project::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 | |
| 2022 | void |
| 2023 | Project::doResetEnd(bool aboutToQuit) |
no test coverage detected