Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

[HELP] What is best way to show error message and then close application on panic? #825

Open
art-den opened this issue Jul 5, 2023 · 0 comments

Comments

@art-den
Copy link

art-den commented Jul 5, 2023

Hi
I want to show message for user if panic occurs. I tried to use crate msgbox from panic handler but for linux and if panic happens in not-main thread I see no message.
What is the idiomatic way in gtk-rs to do this?

PS: I already set panic = "abort" in my Cargo.toml

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant