Commit: 63df3a1c6483e030387d2e5699068258e7cac0ec
Parent: 77c0e84f2403278177ada66a7c0dfccc61c851c2
Author: Arman Uguray <armansito@chromium.org>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2014-08-15 10:52:19
Tree: d754a5421e2b40ff2fbc13f79cdefeb24797d706

shared/att: Use io_set_close_on_destroy. It's better to use io_set_close_on_destroy as opposed to keeping a special "close_on_unref" flag in bt_att. This not only achieves the exact same result, but also allows the code to automatically close the file descriptor from several places by simply calling io_destroy.

Diffstat

M src/shared/att.c | 8 +- - - - - - -

1 files changed, 1 insertions(+), 7 deletions(-)

View Full Diff | Patch