Add checks for participant and sub-components close. (#4100)
* Add checks for participant and sub-components close. Looks like there might be some memory leak with participant sessions not getting closed properly. Adding checks (to be cleaned up later) to see if there is a consistent place where things might hang. * init with right type * Remove unnecessary goroutine, thank you @milos-lk * clean up
This commit is contained in:
+2
-2
@@ -2041,8 +2041,8 @@ func GetOtherParticipantInfo(
|
||||
return pInfos
|
||||
}
|
||||
|
||||
func connectionDetailsFields(infos []*types.ICEConnectionInfo) []interface{} {
|
||||
var fields []interface{}
|
||||
func connectionDetailsFields(infos []*types.ICEConnectionInfo) []any {
|
||||
var fields []any
|
||||
connectionType := types.ICEConnectionTypeUnknown
|
||||
for _, info := range infos {
|
||||
candidates := make([]string, 0, len(info.Remote)+len(info.Local))
|
||||
|
||||
Reference in New Issue
Block a user