Do not send blank frame if not sending leave (#899)
This commit is contained in:
@@ -783,7 +783,7 @@ func (p *ParticipantImpl) Close(sendLeave bool, reason types.ParticipantCloseRea
|
|||||||
// Close will block.
|
// Close will block.
|
||||||
go func() {
|
go func() {
|
||||||
for _, dt := range downTracksToClose {
|
for _, dt := range downTracksToClose {
|
||||||
dt.Close()
|
dt.CloseWithFlush(sendLeave)
|
||||||
}
|
}
|
||||||
|
|
||||||
p.publisher.Close()
|
p.publisher.Close()
|
||||||
|
|||||||
Reference in New Issue
Block a user