ARROW-6525: [C++] Avoid aborting in CloseFromDestructor()
ARROW-6525: [C++] Avoid aborting in CloseFromDestructor()

In release mode, only log an error.  Still abort in debug mode to point out
any issue in testing conditions.

Closes #5352 from pitrou/ARROW-6525-close-crash and squashes the following commits:

65c474470 <Antoine Pitrou> ARROW-6525:  Avoid aborting in CloseFromDestructor()

Authored-by: Antoine Pitrou <9359a4d812173b65a3a0094cd86363e79731a3c2@python.org>
Signed-off-by: Antoine Pitrou <9359a4d812173b65a3a0094cd86363e79731a3c2@python.org>

xhochy/arrow,apache/arrow,wesm/arrow,kou/arrow,wesm/arrow,laurentgo/arrow,xhochy/arrow,cpcloud/arrow,apache/arrow,renesugar/arrow,icexelloss/arrow,apache/arrow,laurentgo/arrow,icexelloss/arrow,laurentgo/arrow,xhochy/arrow,xhochy/arrow,cpcloud/arrow,xhochy/arrow,kou/arrow,renesugar/arrow,laurentgo/arrow,laurentgo/arrow,xhochy/arrow,renesugar/arrow,cpcloud/arrow,cpcloud/arrow,apache/arrow,renesugar/arrow,wesm/arrow,xhochy/arrow,icexelloss/arrow,cpcloud/arrow,xhochy/arrow,wesm/arrow,renesugar/arrow,renesugar/arrow,wesm/arrow,xhochy/arrow,apache/arrow,laurentgo/arrow,renesugar/arrow,renesugar/arrow,cpcloud/arrow,wesm/arrow,apache/arrow,laurentgo/arrow,renesugar/arrow,wesm/arrow,cpcloud/arrow,apache/arrow,laurentgo/arrow,renesugar/arrow,wesm/arrow,apache/arrow,apache/arrow,wesm/arrow,cpcloud/arrow,renesugar/arrow,apache/arrow,kou/arrow,laurentgo/arrow,cpcloud/arrow,kou/arrow,icexelloss/arrow,icexelloss/arrow,kou/arrow,cpcloud/arrow,kou/arrow,cpcloud/arrow,kou/arrow,icexelloss/arrow,kou/arrow,laurentgo/arrow,wesm/arrow,cpcloud/arrow,icexelloss/arrow,icexelloss/arrow,laurentgo/arrow,wesm/arrow,apache/arrow,xhochy/arrow,icexelloss/arrow,icexelloss/arrow,kou/arrow,wesm/arrow,xhochy/arrow,renesugar/arrow,cpcloud/arrow,wesm/arrow,wesm/arrow,laurentgo/arrow,apache/arrow,icexelloss/arrow,laurentgo/arrow,kou/arrow,icexelloss/arrow,laurentgo/arrow,xhochy/arrow,apache/arrow,apache/arrow,xhochy/arrow,laurentgo/arrow,icexelloss/arrow,xhochy/arrow,kou/arrow,kou/arrow,renesugar/arrow,icexelloss/arrow,kou/arrow,renesugar/arrow,kou/arrow,cpcloud/arrow,xhochy/arrow,renesugar/arrow