summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2021-08-09 19:51:44 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2021-08-09 19:51:44 +0300
commitfc4cb1ad63944d7324e8c407cf544a2b3cc27895 (patch)
tree68619ed1e908f0958a8b3b96f12c84b44b098245 /indra
parent13fba729fb62d8c19bffe8be6e293299ef547ded (diff)
SL-15773 Don't try to remove breakpad minidump if it's not needed
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llappviewer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp
index 8c210b668b..eb27162719 100644
--- a/indra/newview/llappviewer.cpp
+++ b/indra/newview/llappviewer.cpp
@@ -1735,12 +1735,14 @@ bool LLAppViewer::cleanup()
// one because it happens just after mFastTimerLogThread is deleted. This
// comment is in case we guessed wrong, so we can move it here instead.
+#if LL_LINUX
// remove any old breakpad minidump files from the log directory
if (! isError())
{
std::string logdir = gDirUtilp->getExpandedFilename(LL_PATH_LOGS, "");
gDirUtilp->deleteFilesInDir(logdir, "*-*-*-*-*.dmp");
}
+#endif
// Kill off LLLeap objects. We can find them all because LLLeap is derived
// from LLInstanceTracker.