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

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

Bluetooth: AsyncFdWatcher: Fix FD leak am: 5c6da266 am: a9b81f3c

am: 981ba19b

Change-Id: Ibb9a79d515d6f500cbdc95b57f43cd05128772d8
parents 84289d2c 981ba19b
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;
}