1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2025-04-21 12:27:27 +03:00

Stop watching a directory when it has been reported as removed

This commit is contained in:
Paul Cercueil
2013-07-19 14:35:45 -04:00
parent ebce540dfc
commit b6dfdc6ef5
3 changed files with 11 additions and 0 deletions

View File

@@ -93,5 +93,6 @@ Monitor::~Monitor(void)
{
pthread_cancel(thd);
pthread_join(thd, NULL);
DEBUG("Monitor thread stopped (was watching %s)\n", path.c_str());
}
#endif