This commit is contained in:
Scott E. Graves 2024-09-23 20:42:46 -05:00
parent 72286c865f
commit 8e41f71e70

View File

@ -468,12 +468,14 @@ void base_provider::remove_deleted_files(bool source_only) {
event_system::instance().raise<orphaned_source_file_detected>(
source_file->get_path());
if (source_file->remove()) {
if (not source_file->remove()) {
continue;
}
event_system::instance().raise<orphaned_source_file_removed>(
source_file->get_path());
}
}
}
if (source_only) {
return;