-
Notifications
You must be signed in to change notification settings - Fork 16
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
Plugin causing another instance to launch on macOS #6
Comments
Correction: it's actually not commenting the I am using: |
Running into exactly the same issue. Removing the |
@timfish do you have any insights on this? 😊 |
Sorry this dropped out of my notifications and got forgotten. I'll take a look! |
Minidump support is via
I guess the extra instance is something to do with that not working correctly. If I start the app via the internal executable (ie. |
Thanks @timfish! For now I've removed the |
That line enables minidump support which is for native crashes that are not Rust panics. This will cover crashes caused by non-Rust native code or |
FYI I had commented out that |
Update: the reason the Rust panic wasn't getting reported was because I was doing this: When I update the variable name to |
Yep one of the few foot-guns with rust that has caught me out a few times. If you name a variable |
I am using the
sentry-tauri
plugin and my code follows the example inexamples/basic-app
. The plugin appears to be working properly during development with no issues, but when runningtauri build
and opening the resulting binary on macOS, a second instance of the app starts a few seconds after opening the app. I have narrowed the issue down to this plugin--when I comment out the.plugin(sentry_tauri::plugin())
line from the Tauri builder inmain()
and rebuild, the issue is gone. Any ideas?The text was updated successfully, but these errors were encountered: