use context to detect when channel is properly closed
This commit is contained in:
@@ -99,7 +99,6 @@ func (w *TrackWriter) writeOgg() {
|
||||
return
|
||||
}
|
||||
|
||||
// Convert seconds to Milliseconds, Sleep doesn't accept floats
|
||||
time.Sleep(sampleDuration)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user