flet
flet copied to clipboard
Calling `page.window.destroy()` will cause the window to freeze for a few seconds before it resumes operation.
Duplicate Check
- [x] I have searched the opened issues and there are no duplicates
Describe the bug
Calling page.window.destroy() will cause the window to freeze for a few seconds before it resumes operation.
Code sample
Calling page.window.destroy() will cause the window to freeze for a few seconds before it resumes operation.
To reproduce
Calling page.window.destroy() will cause the window to freeze for a few seconds before it resumes operation.
Expected behavior
No response
Screenshots / Videos
Captures
[Upload media here]
Operating System
Windows
Operating system details
11
Flet version
0.28.3
Regression
I'm not sure / I don't know
Suggestions
No response
Logs
Logs
[Paste your logs here]
Additional details
No response
I have the same issue.
def stop_process(e=None): page.window.destroy()
Calling this freezes the window, but not always.
platform: Windows 10 22H2.
Python: 3.13.5