Skip to content
New issue

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

WebRTC (tokio) thread leaking #244

Closed
joaoantoniocardoso opened this issue Jun 27, 2023 · 1 comment
Closed

WebRTC (tokio) thread leaking #244

joaoantoniocardoso opened this issue Jun 27, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@joaoantoniocardoso
Copy link
Collaborator

joaoantoniocardoso commented Jun 27, 2023

Steps:

  • Check the threads before running anything:
    image
  • Create an H264 stream and check the number of threads:
    image
  • Create 5 WebRTC sessions and check the number of threads:
    image
  • Delete the stream, and several tokio-runtime threads remain alive:
    image
@joaoantoniocardoso
Copy link
Collaborator Author

joaoantoniocardoso commented Apr 27, 2024

Many patches helped this, but there was also a leak from inside GStreamer, which was solved by using 1.24.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant