mirror of
https://github.com/wader/fq.git
synced 2024-11-23 18:56:52 +03:00
interp: Disable progress after decode is done
Otherwise reading might cause progress output
This commit is contained in:
parent
c1d9b4d2d5
commit
2e964fa44f
@ -611,7 +611,11 @@ func (i *Interp) _decode(c interface{}, a []interface{}) interface{} {
|
||||
},
|
||||
)
|
||||
}
|
||||
defer evalProgress(nil)
|
||||
// when done decoding, tell progress function were done and disable it
|
||||
defer func() {
|
||||
bbf.progressFn = nil
|
||||
evalProgress(nil)
|
||||
}()
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user