Commit 3ef8142
[webview_flutter_wkwebview] Updates generated pigeon code to ensure the internal wrapper immediately sends constructor calls (flutter#8657)
Potential solution to flutter/flutter#162437
As stated in flutter#8656 (comment), I can only reproduce the crash when adding a delay in the async anonymous function. This should ideally prevent that crash by ensuring the send call is made before entering an async method.1 parent 0369bf6 commit 3ef8142
File tree
4 files changed
+460
-271
lines changed- packages/webview_flutter/webview_flutter_wkwebview
- darwin/webview_flutter_wkwebview/Sources/webview_flutter_wkwebview
- lib/src/common
4 files changed
+460
-271
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
1 | 5 | | |
2 | 6 | | |
3 | 7 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
0 commit comments