mirror of https://bitbucket.org/ausocean/av.git
revid: don't return from revid.Stop() if a close of one of the senders fails
This commit is contained in:
parent
850b45d791
commit
bab1e62798
|
@ -347,7 +347,6 @@ func (r *Revid) Stop() {
|
||||||
err := w.Close()
|
err := w.Close()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
r.config.Logger.Log(logger.Error, pkg+"could not close all writeClosers, cannot stop", "error", err.Error())
|
r.config.Logger.Log(logger.Error, pkg+"could not close all writeClosers, cannot stop", "error", err.Error())
|
||||||
return
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
r.config.Logger.Log(logger.Info, pkg+"stopping revid")
|
r.config.Logger.Log(logger.Info, pkg+"stopping revid")
|
||||||
|
|
Loading…
Reference in New Issue