Antoine Pitrou created ARROW-6525:
-------------------------------------
Summary: [C++] CloseFromDestructor() should perhaps not crash
Key: ARROW-6525
URL: https://issues.apache.org/jira/browse/ARROW-6525
Project: Apache Arrow
Issue Type: Wish
Components: C++
Reporter: Antoine Pitrou
When a stream object fails to close in its destructor, CloseFromDestructor()
will abort the process with a fatal error. This may not be desirable on e.g.
networked filesystems where failing to closing isn't uncommon. Perhaps we
should just log an error instead.
(stream users should generally call Close() explicitly, but in some cases they
may fail to do so, e.g. when an error interrupts processing)
--
This message was sent by Atlassian Jira
(v8.3.2#803003)