diff options
author | Derek Murray <mrry@google.com> | 2018-03-28 20:44:51 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-03-28 20:47:31 -0700 |
commit | 789e442513e85ab1caeb1e03997b0aafa3cd76d7 (patch) | |
tree | 95044b6d487aac261fc958054fd905f61abbb3ea /tensorflow/examples | |
parent | a5a90e6b55c19bd14d5effa5cb1695ddbe31026f (diff) |
[tf.data] Maintain a reference on the FunctionBufferingResource while a get-next operation is active.
Previously, the reference count on a FunctionBufferingResource could drop to 0 and it could be deleted (e.g. by a DestroyResourceOp) while a get-next operation is active on it. This would lead to use-after-free errors.
PiperOrigin-RevId: 190878208
Diffstat (limited to 'tensorflow/examples')
0 files changed, 0 insertions, 0 deletions