1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2025-06-29 22:41:06 +02:00

Update package srt with Quality structure

This commit is contained in:
Alexandre Iooss
2020-10-19 19:40:36 +02:00
parent c317d91b8d
commit 069b2155be
6 changed files with 61 additions and 31 deletions

View File

@ -91,6 +91,7 @@ func (l *Streams) Delete(name string) {
// Make sure we did not already delete this stream
l.lockStreams.Lock()
if _, ok := l.streams[name]; ok {
l.streams[name].Close()
delete(l.streams, name)
}
l.lockStreams.Unlock()