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
I would like to exit the get channel generator after I have reached the video I want. However, it seems there is no safe exit, a socket is left open. Below is the code:
It's true, I have incorporated testing in my codebase. I filtered the warning. I went through scrapetube's source code and it seems a session in a while loop might not be closed after exiting abruptly; or maybe the warning is only raised during testing. Thanks though, in case the problem is inherent, and you consider fixing it, I will appreciate.
I would like to exit the get channel generator after I have reached the video I want. However, it seems there is no safe exit, a socket is left open. Below is the code:
When I run the above code, I get the warning below:
The text was updated successfully, but these errors were encountered: