move stop timer in mediatracksubscriptions module where it belongs (#357)
* move stop timer in mediatracksubscriptions module where it belongs * Correct my screw up
This commit is contained in:
@@ -98,6 +98,8 @@ func (t *MediaTrackReceiver) Close() {
|
||||
onclose := t.onClose
|
||||
t.lock.Unlock()
|
||||
|
||||
t.MediaTrackSubscriptions.Close()
|
||||
|
||||
for _, f := range onclose {
|
||||
f()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user