Reset marshal data on object.CutPayload
#202
1 changed files with 1 additions and 0 deletions
|
@ -571,6 +571,7 @@ func (o *Object) CutPayload() *Object {
|
||||||
ov2 := new(object.Object)
|
ov2 := new(object.Object)
|
||||||
*ov2 = *(*object.Object)(o)
|
*ov2 = *(*object.Object)(o)
|
||||||
ov2.SetPayload(nil)
|
ov2.SetPayload(nil)
|
||||||
|
ov2.SetMarshalData(nil)
|
||||||
|
|
||||||
return (*Object)(ov2)
|
return (*Object)(ov2)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue