1
0

Oh, liquid var is nil. We don't need to call Stop().

This commit is contained in:
Alexander Andreev 2022-08-30 01:57:11 +04:00
parent 64eed7ac7e
commit 2c0f0ce61b
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F

View File

@ -69,7 +69,6 @@ func main() {
if !*noLiquidsoap { if !*noLiquidsoap {
liquid, err := liquidsoap.NewLiquidsoap(config.Liquidsoap.ExecPath, config.Liquidsoap.ScriptPath) liquid, err := liquidsoap.NewLiquidsoap(config.Liquidsoap.ExecPath, config.Liquidsoap.ScriptPath)
if err != nil { if err != nil {
liquid.Stop()
logErr.Fatalln("liquidsoap:", err) logErr.Fatalln("liquidsoap:", err)
} }