This commit is contained in:
The Arrayser 2022-08-30 13:47:12 +02:00 committed by GitHub
parent 6eca5c2af5
commit 9f0f4aa085
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,6 +19,7 @@ sus_Bool sus_threadNew(sus_threadProc proc, void * arg){
ti->proc = proc;
ti->args = arg;
if(CreateThread(NULL, 0, threadProc, ti, 0, NULL) == NULL){
sus_heapFree(ti);
return sus_False;
}else{
return sus_True;