| 24 | } |
| 25 | |
| 26 | ProjectDirectoryTree::~ProjectDirectoryTree() { |
| 27 | mClosing = true; |
| 28 | if ( mPluginManager ) |
| 29 | mPluginManager->unsubscribeMessages( "ProjectDirectoryTree" ); |
| 30 | Lock rl( mMatchingMutex ); |
| 31 | if ( mRunning ) { |
| 32 | mRunning = false; |
| 33 | Lock l( mFilesMutex ); |
| 34 | } |
| 35 | { |
| 36 | Lock l( mDoneMutex ); |
| 37 | } |
| 38 | } |
| 39 | |
| 40 | void ProjectDirectoryTree::scan( const ProjectDirectoryTree::ScanCompleteEvent& scanComplete, |
| 41 | const std::vector<std::string>& acceptedPatterns, |
nothing calls this directly
no test coverage detected