Catch a more general form of exception, as we don't make use of the more specific. Had issues with Runtime type information on OSX, not sure exactly what the
problem is but this generalization of exception handling seem to make it work safely.
This commit is contained in:
@@ -281,7 +281,7 @@ void CacheManager::deleteDir (const Glib::ustring& dirName) {
|
||||
safe_g_remove (Glib::build_filename (Glib::build_filename (baseDir, dirName), *i));
|
||||
delete dir;
|
||||
}
|
||||
catch (const Glib::FileError& fe) {
|
||||
catch (const Glib::Error& e) {
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user