How should I properly release the connection #1780
-
Your environment.
What did you do?I refer to the official example: What did you expect?Correctly close the connection and release resources What happened?Everything looks calm, but I feel like I’m missing something |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @a1292999652, thanks for using Pion! When you call |
Beta Was this translation helpful? Give feedback.
Hi @a1292999652, thanks for using Pion!
When you call
PeerConnection.Close()
everything is closed/resources are released. You don't need to call Close on anything else.