Bluetooth: AsyncFdWatcher: Fix FD leak am: 5c6da2669c

am: a9b81f3c4c

Change-Id: Iba08a60214a28faebaf623d421deb66a85ee5d1c
This commit is contained in:
Peng Qi
2017-08-29 20:11:40 +00:00
committed by android-build-merger

View File

@@ -105,6 +105,9 @@ int AsyncFdWatcher::stopThread() {
timeout_cb_ = nullptr;
}
close(notification_listen_fd_);
close(notification_write_fd_);
return 0;
}