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

GUI can stall if server start is requested after server is already started #71

Open
qdot opened this issue May 22, 2023 · 1 comment
Open
Labels
bug Something isn't working

Comments

@qdot
Copy link
Contributor

qdot commented May 22, 2023

GUI will stall due to being stuck in an intermittent state if the server tries to start after it's already started. The Rust code returns an error here, but it's thrown as part of the stream handling in flutter-rust-bridge and is therefore uncatchable.

The only way this can happen is to turn the server on/off very quickly at the moment, so a bit of an edge case.

@qdot qdot added the bug Something isn't working label May 22, 2023
@blackspherefollower
Copy link
Contributor

@qdot I've seen this on Android a couple of times by backgrounding Intiface when it's running, then opening the app again from the launcher (the service is still running but the front-end doesn't seem to reconnect to it). This was easiest to reproduce in the Quest, but I'm certain I've seen it happen on my Pixel 6 too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants