diff options
author | Jørn Bersvendsen <jornb87@gmail.com> | 2016-10-07 11:26:04 +0200 |
---|---|---|
committer | Fredrik Orderud <forderud@gmail.com> | 2016-10-10 17:44:56 +0000 |
commit | 91cde062968f97041bca8d2a30d13aa03b606c3d (patch) | |
tree | b5c8848d6e1545b07a730fd6ba1dbfa606bb89d5 /examples/qmake | |
parent | 7eddca359dd30d1dcfabb519f60ac4be83eda02c (diff) |
Extracted cleanup from QCoreApplication::exec() into separate function
Not all Qt integration points can call QCoreApplication::exec(), in
particular, ActiveQt. When an ActiveQt server is loaded, it tries to
mimic the behavior of calling QCoreApplication::exec() by setting
QCoreApplicationPrivate::in_exec = true. However, when unloading the
DLL it is necessary to call the same clean-up (e.g. deferred delete)
that QCoreApplication::exec() does. Extracting the cleanup in a separate
function means implementation does not have to be duplicated.
Task-number: QTBUG-56172
Change-Id: I061f1c06f38881032ad7044416c12c91e536478a
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'examples/qmake')
0 files changed, 0 insertions, 0 deletions