Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 981ba19b authored by Peng Qi's avatar Peng Qi Committed by android-build-merger
Browse files

Bluetooth: AsyncFdWatcher: Fix FD leak am: 5c6da266

am: a9b81f3c

Change-Id: Iba08a60214a28faebaf623d421deb66a85ee5d1c
parents dbe51bce a9b81f3c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -105,6 +105,9 @@ int AsyncFdWatcher::stopThread() {
    timeout_cb_ = nullptr;
  }

  close(notification_listen_fd_);
  close(notification_write_fd_);

  return 0;
}