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

Prevents spurious logging / reporting.
This commit is contained in:
Unknown W. Brackets committed 2015-12-31 11:19:28 -08:00
1 parent 337f27d0d9
commit 7b217af59e
1 file changed
+3
+3
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) {