Skip to content

Deadlock while closing the window with persistent threads running on Windows (again) #1439

@gitillusion09

Description

@gitillusion09

Hello @r0x0r :)
When closing, the app keeps hanging forever.
I know there was already a similar issue back in 2017 (#138), but I think the fix does not work (anymore ?) on Windows 11.
I work with pywebview 5.1. I have a renderer thread that in some cases, calls the evaluate_js method periodically. If the application closes at this exact moment, and even though the thread has been joined, the app keeps hanging forever.
Does anyone have the issue on Windows?

I am not sure to have the skills to work on this issue myself...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions