fix: Unhandled IOException in DeleteSelectedFiles crashing the app by blackyale · Pull Request #112 · yasirkula/UnitySimpleFileBrowser
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters