picoe / Eto

Cross platform GUI framework for desktop and mobile applications in .NET
Other
3.62k stars 328 forks source link

Fix a crash that can happen when setting SelectFolderDialog.Directory on Mac #2582

Closed cwensley closed 10 months ago

cwensley commented 10 months ago

[NSUrl initFileURLWithPath:isDirectory:] can return null sometimes, causing the .net macOS apis to freak out and throw an exception. I'm not sure exactly when/why, but if it does we should gracefully handle that and not crash.