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

Commit 519f9aea authored by Josh Gao's avatar Josh Gao Committed by Gerrit Code Review
Browse files

Merge "adb: sysdeps_win32: actually change ExitThread to _endthreadex."

parents 2aae509b d7b37492
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) {