Give a better error when handling std::terminate

Former-commit-id: 7b79ec360ba046da6d9dbf3cc731bbdee1458d34
This commit is contained in:
John Sully 2020-03-25 16:27:24 -04:00
parent 118bd49a4e
commit b443553a3d

View File

@ -5036,7 +5036,7 @@ void OnTerminate()
The easiest way to achieve that is to acutally segfault, so we assert
here.
*/
serverAssert(false);
serverPanic("std::teminate() called");
}
void *workerThreadMain(void *parg)