You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The EventsEndpoint response is a stream that never finishes. The response handling code even does not have a code path to finish the response during the shutdown. Also, the code eats and does not reraise the CancelledError exception, and that does not look good to me. I think the correct code should look like this:
Describe the bug
During the Tribler's shutdown, it freezes on this line:
tribler/src/tribler/core/components/restapi/rest/rest_manager.py
Line 169 in 4c7c3aa
To Reproduce
Steps to reproduce the behavior:
Screenshots
![image](https://user-images.githubusercontent.com/13798583/224270581-c3b89885-4f70-4e06-91b3-c10988159e2f.png)
Additional context
The bug doesn't reproduce while running Tribler headless.
The text was updated successfully, but these errors were encountered: