Skip to content
Snippets Groups Projects
Commit 8d5b933a authored by Aura Linden's avatar Aura Linden
Browse files

Probable fix for linux hang.

parent 706ec08d
No related branches found
No related tags found
No related merge requests found
...@@ -1197,15 +1197,14 @@ namespace LLError ...@@ -1197,15 +1197,14 @@ namespace LLError
#endif #endif
void crashAndLoop(const std::string& message) void crashAndLoop(const std::string& message)
{ {
while(true)
{
// Loop forever, in case the crash didn't work?
// Now, we go kaboom! // Now, we go kaboom!
int* make_me_crash = NULL; int* make_me_crash = NULL;
*make_me_crash = 0; *make_me_crash = 0;
while(true)
{
// Loop forever, in case the crash didn't work?
} }
// this is an attempt to let Coverity and other semantic scanners know that this function won't be returning ever. // this is an attempt to let Coverity and other semantic scanners know that this function won't be returning ever.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment