Net: don't double-delete thread on shutdown.

Prevents spurious logging / reporting.
This commit is contained in:
Unknown W. Brackets 2015-11-28 15:41:36 -08:00
parent 337f27d0d9
commit 7b217af59e

View file

@ -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) {