This commit is contained in:
Zoltán Papp
2025-03-14 14:20:55 +01:00
parent e7098d7b77
commit 7e422b1d76
3 changed files with 65 additions and 76 deletions

View File

@@ -267,6 +267,7 @@ func (conn *Conn) Close() {
conn.setStatusToDisconnected()
conn.opened = false
conn.wg.Wait()
conn.Log.Infof("peer connection closed")
}
// OnRemoteAnswer handles an offer from the remote peer and returns true if the message was accepted, false otherwise