1
0
mirror of https://github.com/json-iterator/go.git synced 2025-06-15 22:50:24 +02:00

fix random go test failure

This commit is contained in:
Tao Wen
2017-06-02 17:34:40 +08:00
parent 59e71bacc8
commit e36f926072
7 changed files with 16 additions and 9 deletions

View File

@ -322,6 +322,7 @@ func (any *objectLazyAny) IterateObject() (func() (string, Any, bool), bool) {
any.err = iter.Error
return key, value, true
} else {
nextKey = ""
remaining = nil
any.remaining = nil
any.err = iter.Error