Bluetooth: AsyncFdWatcher: Fix FD leak
am: 5c6da2669c
Change-Id: Ia7b6d7357f0df7141ab55e4fc31478fd36d16f43
This commit is contained in:
commit
a9b81f3c4c
1 changed files with 3 additions and 0 deletions
|
@ -105,6 +105,9 @@ int AsyncFdWatcher::stopThread() {
|
|||
timeout_cb_ = nullptr;
|
||||
}
|
||||
|
||||
close(notification_listen_fd_);
|
||||
close(notification_write_fd_);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue