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

App Crashes on Debug Restart #98

Closed
bahricanyesil opened this issue Dec 29, 2023 · 3 comments
Closed

App Crashes on Debug Restart #98

bahricanyesil opened this issue Dec 29, 2023 · 3 comments

Comments

@bahricanyesil
Copy link

It throws "[1229/150823.836608:FATAL:webview_handler.cc(35)] Check failed: !g_instance." error when you restarted the app and tried to show webview again.

@SinyimZhi
Copy link
Collaborator

This line is called when you try to get the singleton webview_handler ,but it has not yet been instantiated or has already been destroyed. I will try to reproduce it and see if there are any issues.

@bahricanyesil
Copy link
Author

This line is called when you try to get the singleton webview_handler ,but it has not yet been instantiated or has already been destroyed. I will try to reproduce it and see if there are any issues.

It may be related to the call of the "dispose" method. You can close the issue if you can not reproduce it.

@SinyimZhi
Copy link
Collaborator

@bahricanyesil I can not reproduce it, and i think the problem is caused we have not support multi instance. I'm already work on multi instance support. There is a branch on my fork named multi_window, but the solutions is not good. It can't support multi flutter engine(most multi window solutions are based on multi flutter engine). It might need to adjust the code structure a few more times

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

No branches or pull requests

2 participants