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

Heavy-handed attempt at fixing crashandloop hang.

parent 00f12a2f
No related branches found
No related tags found
No related merge requests found
...@@ -1197,14 +1197,15 @@ namespace LLError ...@@ -1197,14 +1197,15 @@ namespace LLError
#endif #endif
void crashAndLoop(const std::string& message) void crashAndLoop(const std::string& message)
{ {
// Now, we go kaboom!
int* make_me_crash = NULL;
*make_me_crash = 0;
while(true) while(true)
{ {
// Loop forever, in case the crash didn't work? // Loop forever, in case the crash didn't work?
// Now, we go kaboom!
int* make_me_crash = NULL;
*make_me_crash = 0;
} }
// 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.
Finish editing this message first!
Please register or to comment