diff options
| author | Andrey Lihatskiy <alihatskiy@productengine.com> | 2022-05-31 02:24:14 +0300 |
|---|---|---|
| committer | Andrey Lihatskiy <alihatskiy@productengine.com> | 2022-05-31 02:35:29 +0300 |
| commit | dd2fe2687ce58c6f6ebf16b2d66ae797022076f6 (patch) | |
| tree | c75248333f92d1be02477737ca77aeb48aedf058 /indra/newview/llappviewer.cpp | |
| parent | 9b0569840f06137ee2379463f5028a5342c3555a (diff) | |
DRTVWR-544 post-merge fix (restored SL-14961)
Diffstat (limited to 'indra/newview/llappviewer.cpp')
| -rw-r--r-- | indra/newview/llappviewer.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index 5ec2b141ff..50ae72bbaa 100644 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -5518,6 +5518,12 @@ void LLAppViewer::forceErrorDriverCrash() glDeleteTextures(1, NULL); } +void LLAppViewer::forceErrorCoroutineCrash() +{ + LL_WARNS() << "Forcing a crash in LLCoros" << LL_ENDL; + LLCoros::instance().launch("LLAppViewer::crashyCoro", [] {throw LLException("A deliberate crash from LLCoros"); }); +} + void LLAppViewer::forceErrorThreadCrash() { class LLCrashTestThread : public LLThread |
