Skip to content

Commit 8bfa71b

Browse files
committed
Tests: another attempt to quit with a fatal error
1 parent 82557fe commit 8bfa71b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/test_common.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ static void DebugOutput( ESteamNetworkingSocketsDebugOutputType eType, const cha
5757
"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n"
5858
"!! TEST FAILED !!\n"
5959
"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n"
60-
"\n", pszMsg );
60+
);
6161
fflush( stderr );
62-
abort();
62+
_exit(1);
6363
}
6464
}
6565

@@ -85,7 +85,7 @@ void TEST_Fatal( const char *fmt, ... )
8585
va_end(ap);
8686
fputc('\n', stderr);
8787
fflush(stderr);
88-
exit(1);
88+
_exit(1);
8989
}
9090

9191
void TEST_InitLog( const char *pszFilename )

0 commit comments

Comments
 (0)