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

Commit 2674cd92 authored by Josh Gao's avatar Josh Gao
Browse files

adb: sysdeps_win32: actually change ExitThread to _endthreadex.

Forgot to amend this into b5fea14e.

Change-Id: Id04e639eb87043901681db789d7a7925300fa867
(cherry picked from commit d7b37492)
parent d9db09c3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -170,7 +170,7 @@ static __inline__ bool adb_thread_detach(adb_thread_t thread) {
}

static __inline__ void __attribute__((noreturn)) adb_thread_exit() {
    ExitThread(0);
    _endthreadex(0);
}

static __inline__ int adb_thread_setname(const std::string& name) {