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

crash on windows7 #92

Open
iriswe opened this issue Dec 6, 2023 · 2 comments
Open

crash on windows7 #92

iriswe opened this issue Dec 6, 2023 · 2 comments
Labels

Comments

@iriswe
Copy link

iriswe commented Dec 6, 2023

The 'webview_cef/23159' channel sent a message from native to Flutter on a non-platform thread. Platform channel messages must be sent on the platform thread. Failure to do so may result in data loss or crashes, and must be fixed in the plugin or application code creating that channel

@SinyimZhi
Copy link
Collaborator

@iriswe cef run in another thread on windows to build it's own message loop, and flutter did't afford api which can send message to main thread on windows.There are two ways to solve this problem:1.build message poster and handler for this plugin on native side.2.let flutter main thread proxy cef's message loop like linux and macos.This issue may not be resolved in a short period of time, but it will be addressed.

@SinyimZhi
Copy link
Collaborator

@iriswe I've tryed invoke method to flutter on platform thread by windows message loop. Cause we don't have windows 7. Can you help us do some tests?

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

No branches or pull requests

2 participants