diff options
author | Kent Hansen <kent.hansen@nokia.com> | 2012-08-10 12:28:11 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-13 09:32:42 +0200 |
commit | d1cf1cc364463c196dfc99f04328755a67476569 (patch) | |
tree | 9e06c81279dd5c0d5f3e91952275f139194c40dc /tests/auto/qscriptextqobject/tst_qscriptextqobject.cpp | |
parent | 87857bd080668e7c249f9da1c9f1e24d030d6f1a (diff) | |
download | qtscript-d1cf1cc364463c196dfc99f04328755a67476569.tar.gz |
Suppress JavaScriptCore 'LEAK' messages at application exit
In debug mode, if a QScriptEngine was never destroyed, JavaScriptCore
would output a message like
LEAK: 120 Structure
on stderr at exit.
This is not terribly helpful to users; also, it's not common for Qt
classes to produce such output. Since JavaScriptCore's only usage of
the logging facility is for reporting these "leaks", we can disable
logging altogether.
Task-number: QTBUG-18201
Change-Id: Id598bd1f48129d821a954cc49d8e3ab715d78426
Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'tests/auto/qscriptextqobject/tst_qscriptextqobject.cpp')
0 files changed, 0 insertions, 0 deletions