Skip to content
Snippets Groups Projects
Commit eed8a1b7 authored by ale's avatar ale
Browse files

prevent panic on master -> slave transcoder transition

The Stop() method on the liquidsoap controller could have been called
multiple times.
parent 44987030
No related branches found
No related tags found
No related merge requests found
......@@ -584,6 +584,7 @@ func (t *transcoder) run() {
running = true
} else if running {
t.liquidsoap.Stop()
running = false
}
case <-t.stop:
if running {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment