MixinNetwork / MixinNetwork/flutter-plugins
[desktop_webview_window] Create a window and close it immediately, but an error message will appear saying 'Warning: Failed to respond to a message. This is a memory leak. Lost connection to device.'
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 512
- Forks
- 292
- Avg merge
- 15h 8m
- Merged PRs (30d)
- 7
Description
A clear and concise description of what the bug is.
Reproduce Steps
Steps to reproduce the behavior:
- await WebviewWindow.create() Create a webview window
- Close the window within less than 1 second (presumably before the window is successfully created, click the "x" button on the white screen window to close the window)
- The program crashes and reports error 'Warning: Failed to respond to a message. This is a memory leak.'
- Simultaneously pop up an error pop-up window
Expected behavior
Closing the window immediately will not result in an error
Version (please complete the following information):
- Flutter Version: 3.19.5
- OS: Windows11
- plugin: [desktop_webview_window]
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the crash with await WebviewWindow.create() on Windows 11 using Flutter 3.19.5, then close the white window before creation completes. Trace the desktop_webview_window window-creation and close lifecycle; done means immediate closure produces neither a crash nor the reported lost-connection warning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- flutter
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100