[THREADING] Removed old walkaround for zombie threads

This commit is contained in:
Radosław Gliński 2019-11-16 12:06:40 +01:00 committed by illusion98
parent fe3e4409fd
commit 5140d4940e
1 changed files with 0 additions and 3 deletions

View File

@ -137,9 +137,6 @@ dword_result_t ExCreateThread(lpdword_t handle_ptr, dword_t stack_size,
if (handle_ptr) { if (handle_ptr) {
if (creation_flags & 0x80) { if (creation_flags & 0x80) {
*handle_ptr = thread->guest_object(); *handle_ptr = thread->guest_object();
} else if (!*handle_ptr && (creation_flags == X_CREATE_SUSPENDED)) {
// TODO(Gliniak): Temporary solution, requires more research // && !stack_size
*handle_ptr = thread->handle();
} else { } else {
*handle_ptr = thread->handle(); *handle_ptr = thread->handle();
} }