diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-10-17 21:34:04 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-10-17 21:34:04 -0500 |
commit | cced03e1d481e26d12b65e7929dfd650e4be571c (patch) | |
tree | f27f9065480b094816777ab94aff99e6266d0b5c | |
parent | c9e64428467b7b4fd9c0eb3e0ca163dba886b891 (diff) | |
download | tdelibs-cced03e1d481e26d12b65e7929dfd650e4be571c.tar.gz tdelibs-cced03e1d481e26d12b65e7929dfd650e4be571c.zip |
Disable constant generation of backtraces in TDEIconLoader
This relates to Bug 1674
-rw-r--r-- | tdecore/kiconloader.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tdecore/kiconloader.cpp b/tdecore/kiconloader.cpp index e81293986..59f3e0646 100644 --- a/tdecore/kiconloader.cpp +++ b/tdecore/kiconloader.cpp @@ -106,7 +106,11 @@ struct TDEIconGroup bool alphaBlending; }; -#define KICONLOADER_CHECKS +// WARNING +// Enabling this in production will cause a massive slowdown of (and a related memory leak in) +// any application that creates and destroys large numbers of TDEIconLoader instances +//#define KICONLOADER_CHECKS + #ifdef KICONLOADER_CHECKS // Keep a list of recently created and destroyed TDEIconLoader instances in order // to detect bugs like #68528. |