[
https://issues.apache.org/jira/browse/ARROW-12366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17373005#comment-17373005
]
Weston Pace commented on ARROW-12366:
-------------------------------------
I agree. I think ARROW-12207 would make this superfluous. If ARROW-12207 is
implemented and all references to the producer are lost then it will complete
the future with an invalid status. It's not quite the same as auto-close but
auto-close wouldn't necessarily be correct either.
> [C++] Investigate PushGenerator::Producer auto-close
> ----------------------------------------------------
>
> Key: ARROW-12366
> URL: https://issues.apache.org/jira/browse/ARROW-12366
> Project: Apache Arrow
> Issue Type: Task
> Components: C++
> Reporter: Antoine Pitrou
> Priority: Minor
>
> PushGenerator::Producer may be more robust if destroying the last Producer
> copy would auto-close it.
> Note that there can be several copies because of closures.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)