- fix the build
This commit is contained in:
parent
05a5ff02d1
commit
798777f313
|
@ -5966,7 +5966,7 @@ __try {
|
||||||
|
|
||||||
initSpecialStrings();
|
initSpecialStrings();
|
||||||
int result = 0;
|
int result = 0;
|
||||||
try {
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
winSockManager = new SocketManager();
|
winSockManager = new SocketManager();
|
||||||
#endif
|
#endif
|
||||||
|
@ -5977,14 +5977,12 @@ __try {
|
||||||
cleanupProcessObjects();
|
cleanupProcessObjects();
|
||||||
|
|
||||||
if(SystemFlags::VERBOSE_MODE_ENABLED) printf("In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
|
if(SystemFlags::VERBOSE_MODE_ENABLED) printf("In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
|
||||||
}
|
|
||||||
catch(const exception &e) {
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
delete winSockManager;
|
delete winSockManager;
|
||||||
winSockManager = NULL;
|
winSockManager = NULL;
|
||||||
#endif
|
#endif
|
||||||
throw e;
|
|
||||||
}
|
|
||||||
if(sdl_quitCalled == false) {
|
if(sdl_quitCalled == false) {
|
||||||
sdl_quitCalled = true;
|
sdl_quitCalled = true;
|
||||||
SDL_Quit();
|
SDL_Quit();
|
||||||
|
|
Loading…
Reference in New Issue