From 131148ecb40b02869bdaf39ff539e75d3a0b88d9 Mon Sep 17 00:00:00 2001 From: aler9 <46489434+aler9@users.noreply.github.com> Date: Sun, 3 Oct 2021 16:08:10 +0200 Subject: [PATCH] fix lint --- internal/core/path.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/core/path.go b/internal/core/path.go index 47f7b92f..f64022c8 100644 --- a/internal/core/path.go +++ b/internal/core/path.go @@ -458,7 +458,7 @@ outer: // this avoids a deadlock in which onDemandCmd is a // RTSP publisher that sends a TEARDOWN request and waits // for the response (like FFmpeg), but it can't since - /// the path is already waiting for the command to close. + // the path is already waiting for the command to close. if pa.onDemandCmd != nil { pa.onDemandCmd.Close() pa.Log(logger.Info, "runOnDemand command stopped") @@ -534,7 +534,7 @@ func (pa *path) onDemandCloseSource() { // this avoids a deadlock in which onDemandCmd is a // RTSP publisher that sends a TEARDOWN request and waits // for the response (like FFmpeg), but it can't since - /// the path is already waiting for the command to close. + // the path is already waiting for the command to close. if pa.onDemandCmd != nil { pa.onDemandCmd.Close() pa.onDemandCmd = nil @@ -583,7 +583,7 @@ func (pa *path) sourceSetNotReady() { // this avoids a deadlock in which onPublishCmd is a // RTSP reader that sends a TEARDOWN request and waits // for the response (like FFmpeg), but it can't since - /// the path is already waiting for the command to close. + // the path is already waiting for the command to close. if pa.onPublishCmd != nil { pa.onPublishCmd.Close() pa.onPublishCmd = nil