flet icon indicating copy to clipboard operation
flet copied to clipboard

Calling `page.window.destroy()` will cause the window to freeze for a few seconds before it resumes operation.

Open yst-one opened this issue 1 year ago • 2 comments

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

yst-one avatar Jul 19 '25 03:07 yst-one

Image

yst-one avatar Jul 19 '25 03:07 yst-one

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

Alec269 avatar Aug 02 '25 17:08 Alec269