Skip to content

Commit

Permalink
Merge pull request #8350 from unknownbrackets/net-minor
Browse files Browse the repository at this point in the history
Net: don't double-delete thread on shutdown
  • Loading branch information
hrydgard committed Jan 1, 2016
2 parents 4d5ee69 + 7b217af commit 03d0d83
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Core/HLE/sceNetAdhoc.cpp
Expand Up @@ -82,6 +82,9 @@ void __NetAdhocShutdown() {
sceNetAdhocctlTerm();
}
if (netAdhocInited) {
// Should not really call HLE funcs from shutdown.
// Prevent attempting to delete the thread, already deleted by shutdown.
threadAdhocID = 0;
sceNetAdhocTerm();
}
if (dummyThreadHackAddr) {
Expand Down

0 comments on commit 03d0d83

Please sign in to comment.