Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged

Conversation

cwensley
Copy link
Member

[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.

@cwensley cwensley added the bug label Nov 17, 2023
@cwensley cwensley added this to the 2.8.2 milestone Nov 17, 2023
@cwensley cwensley merged commit d612886 into picoe:develop Nov 17, 2023
3 checks passed
@cwensley cwensley deleted the curtis/mac-fix-selectfolderdialog-crash branch November 17, 2023 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant