Delay deleting RingReducer until group_size_tensor_ready_ has
authorA. Unique TensorFlower <gardener@tensorflow.org>
Thu, 26 Apr 2018 20:15:55 +0000 (13:15 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Thu, 26 Apr 2018 20:18:45 +0000 (13:18 -0700)
commitd3c18b5dcf5293e81bfd9acdce3a3b8f79ae4ade
tree7f20bb234526a3d2a6a16324a4942b4f17650936
parent5f06514bff4061b839ee71847a299adbef9e7e03
Delay deleting RingReducer until group_size_tensor_ready_ has
been notified.  Otherwise this can result in a bad pointer dereference
under some early abort conditions.

PiperOrigin-RevId: 194443206
tensorflow/core/common_runtime/ring_reducer.cc
tensorflow/core/common_runtime/ring_reducer.h