Fix thread context leak on non-Vita platforms
This commit is contained in:
parent
b126e481a1
commit
0586f3d65f
1 changed files with 1 additions and 3 deletions
|
|
@ -86,9 +86,7 @@ void* ThreadProc(void* context) {
|
||||||
|
|
||||||
ctx->entry(ctx->context);
|
ctx->entry(ctx->context);
|
||||||
|
|
||||||
#if defined(__vita__)
|
free(ctx);
|
||||||
free(ctx);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(LC_WINDOWS) || defined(__vita__) || defined(__WIIU__) || defined(__3DS__)
|
#if defined(LC_WINDOWS) || defined(__vita__) || defined(__WIIU__) || defined(__3DS__)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue