Removed extra check
This commit is contained in:
parent
3b13a9f51d
commit
68ccdfd408
@ -95,10 +95,6 @@ func (a *agent) work() {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
for {
|
for {
|
||||||
if a.worker.stopped {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
if inpack, l, err = decodeInPack(data); err != nil {
|
if inpack, l, err = decodeInPack(data); err != nil {
|
||||||
a.worker.err(err)
|
a.worker.err(err)
|
||||||
leftdata = data
|
leftdata = data
|
||||||
|
Loading…
Reference in New Issue
Block a user