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

Commit f1febfce authored by Myles Watson's avatar Myles Watson Committed by android-build-merger
Browse files

btif: Remove redundant thread_{stop|join}

am: 06ccda6e

Change-Id: I1f910f200c2942a1bbfbdd6d37b3dc6b0e7fed64
parents 650ff400 06ccda6e
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -112,8 +112,6 @@ void btif_sock_cleanup(void) {
  int saved_handle = thread_handle;
  if (std::atomic_exchange(&thread_handle, -1) == -1) return;

  thread_stop(thread);
  thread_join(thread);
  btsock_thread_exit(saved_handle);
  btsock_rfc_cleanup();
  btsock_sco_cleanup();