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() { ...@@ -584,6 +584,7 @@ func (t *transcoder) run() {
running = true running = true
} else if running { } else if running {
t.liquidsoap.Stop() t.liquidsoap.Stop()
running = false
} }
case <-t.stop: case <-t.stop:
if running { if running {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment