mirror of
https://github.com/livekit/livekit.git
synced 2026-05-25 20:45:13 +00:00
deregister observability function when participant is closed (#4157)
* deregister observability function when participant is closed * tidy
This commit is contained in:
@@ -404,7 +404,7 @@ func NewParticipant(params ParticipantParams) (*ParticipantImpl, error) {
|
||||
tx.ReportDuration(uint16(millis))
|
||||
tx.ReportDurationMinutes(uint8(mins))
|
||||
|
||||
return !p.IsDisconnected()
|
||||
return !p.IsClosed()
|
||||
})
|
||||
|
||||
var err error
|
||||
|
||||
Reference in New Issue
Block a user