Give a better error when handling std::terminate
Former-commit-id: 7b79ec360ba046da6d9dbf3cc731bbdee1458d34
This commit is contained in:
parent
118bd49a4e
commit
b443553a3d
@ -5036,7 +5036,7 @@ void OnTerminate()
|
|||||||
The easiest way to achieve that is to acutally segfault, so we assert
|
The easiest way to achieve that is to acutally segfault, so we assert
|
||||||
here.
|
here.
|
||||||
*/
|
*/
|
||||||
serverAssert(false);
|
serverPanic("std::teminate() called");
|
||||||
}
|
}
|
||||||
|
|
||||||
void *workerThreadMain(void *parg)
|
void *workerThreadMain(void *parg)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user