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

Method closeProject_blocking

Engine/Project.cpp:1874–1889  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1872} // Project::reset
1873
1874void
1875Project::closeProject_blocking(bool aboutToQuit)
1876{
1877 assert( QThread::currentThread() == qApp->thread() );
1878 {
1879 QMutexLocker k(&_imp->projectClosingMutex);
1880 _imp->projectClosing = true;
1881 }
1882 NodesList nodesToWatch;
1883 getNodes_recursive(nodesToWatch, false);
1884 for (NodesList::iterator it = nodesToWatch.begin(); it != nodesToWatch.end(); ++it) {
1885 (*it)->quitAnyProcessing_blocking(false);
1886 }
1887
1888 doResetEnd(aboutToQuit);
1889}
1890
1891void
1892Project::doResetEnd(bool aboutToQuit)

Callers 1

abortProjectMethod · 0.80

Calls 3

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected