Removed extra check

This commit is contained in:
Dmitry Krylov 2022-01-04 17:58:34 +03:00
parent 3b13a9f51d
commit 68ccdfd408

View File

@ -95,10 +95,6 @@ func (a *agent) work() {
continue
}
for {
if a.worker.stopped {
return
}
if inpack, l, err = decodeInPack(data); err != nil {
a.worker.err(err)
leftdata = data