Windows Port: Oops! Fix a bug that will cause the app to crash on app exit. (Regression from commit 5e67e9c.)
This commit is contained in:
parent
5e67e9ca7c
commit
6797f00d23
|
@ -3557,6 +3557,11 @@ int _main()
|
|||
gdbstub_mutex_destroy();
|
||||
#endif
|
||||
|
||||
if (wifiHandler->IsSocketsSupported())
|
||||
{
|
||||
WSACleanup();
|
||||
}
|
||||
|
||||
NDS_DeInit();
|
||||
|
||||
#ifdef DEBUG
|
||||
|
@ -3591,11 +3596,6 @@ int _main()
|
|||
|
||||
UnregWndClass("DeSmuME");
|
||||
|
||||
if (wifiHandler->IsSocketsSupported())
|
||||
{
|
||||
WSACleanup();
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue