diff options
author | Kai Koehne <kai.koehne@digia.com> | 2014-06-04 12:10:24 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-06-06 09:31:59 +0200 |
commit | 7cbd9cffd3b6f367fc71adb26428a59502d09885 (patch) | |
tree | 5d8cf134412cc4fe7a0d4587c1907bf1254bb638 /src/tools/rcc | |
parent | 9e01483cdfff068517e29c674e0332818e76cb21 (diff) |
Do not try to handle OOM exceptions in logging
We duplicate quite some code here in an attempt to still print
messages, even in OOM situations. However, we've in general given up
on handling OOM exceptions gracefully in Qt: On modern systems
you hardly reach the point of not being able to allocate (smaller)
chunks in the first place, since the system will usually overcommit,
or bring the system to halt by heavy paging.
In 7cafb62538661863e5c we removed already similar logic in QDebug
class.
Change-Id: I4f84641c41c5e230a60dc0b7a5b0a13dec20f90f
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/tools/rcc')
0 files changed, 0 insertions, 0 deletions