log participant closure

This commit is contained in:
David Zhao
2022-02-18 17:51:34 -08:00
parent b891e78d41
commit a6fff57b94
+2
View File
@@ -485,6 +485,8 @@ func (p *ParticipantImpl) Close(sendLeave bool) error {
return nil
}
p.params.Logger.Errorw("closing participant", nil)
// send leave message
if sendLeave {
_ = p.writeMessage(&livekit.SignalResponse{