fix: Unhandled IOException in DeleteSelectedFiles crashing the app by blackyale · Pull Request #112 · yasirkula/UnitySimpleFileBrowser

Conversation

@blackyale

Fixes a crash when trying to delete files that are locked by another process (e.g. OneDrive sync, antivirus). Previously, an unhandled IOException would kill the app. Now the deletion loop catches the exception, logs a warning, and keeps going so the rest of the selected files still get deleted and the file list refreshes properly.

1 participant

@blackyale