Skip to content

How should I properly release the connection #1780

Answered by Sean-Der
a1292999652 asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@a1292999652
Comment options

Answer selected by Sean-Der
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1778 on April 21, 2021 16:41.