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

Commit cc52092e 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

am: 09630871

Change-Id: Ie4c75fa40aff52eb95877e2ac3f29b68001407cf
parents 0e1219e5 09630871
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;
}