diff --git a/Os/Posix/Task.cpp b/Os/Posix/Task.cpp index 2e6c782ceb..9b48ffb947 100644 --- a/Os/Posix/Task.cpp +++ b/Os/Posix/Task.cpp @@ -182,7 +182,6 @@ namespace Os { } (void)pthread_attr_destroy(&att); if (stat != 0) { - (void)pthread_join(*tid, nullptr); delete tid; tid = nullptr; Fw::Logger::logMsg("pthread_create: %s. %s\n", reinterpret_cast(message), reinterpret_cast(strerror(stat)));