Commits


Weston Pace authored and David Li committed e99e70d97e8
ARROW-12220: [C++][CI] Thread sanitizer failure The background generator kept reading from the source even after the downstream had given up on it. Other than the obvious memory / resource usage problems this also meant that callback handlers could reference deleted state downstream. Now we block the destructor until the background thread is finished and we stop the background thread early if all consumer references are lost. Closes #9941 from westonpace/bugfix/arrow-12220 Authored-by: Weston Pace <weston.pace@gmail.com> Signed-off-by: David Li <li.davidm96@gmail.com>