SerializeIterator: do not unref the resource until we're finished using it.
This change avoids a potential use-after-free error if the resource is concurrently serialized and destroyed (e.g. by a DestroyResourceOp or Session::Reset()). PiperOrigin-RevId: 174713115
Loading
Please sign in to comment