We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, when I use this code to close the program, the program blocks for some time before actually exiting.
def main(page: ft.Page): page.title = "Test App" def yes_click(e): print("Closing window....") page.window.destroy() print("Window closed.") button = ft.ElevatedButton(text="Close", on_click=yes_click) page.add(button) ft.app(target=main)
After the program runs, click the close button and the program will block for a certain period of time before exiting.
No response
[Upload media here]
Windows
Windows11
Name: flet Version: 0.25.2
No, it isn't
[Paste your logs here]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Duplicate Check
Describe the bug
Hi, when I use this code to close the program, the program blocks for some time before actually exiting.
Code sample
Code
To reproduce
After the program runs, click the close button and the program will block for a certain period of time before exiting.
Expected behavior
No response
Screenshots / Videos
Captures
[Upload media here]
Operating System
Windows
Operating system details
Windows11
Flet version
Name: flet Version: 0.25.2
Regression
No, it isn't
Suggestions
No response
Logs
Logs
[Paste your logs here]
Additional details
No response
The text was updated successfully, but these errors were encountered: