diff options
author | Johannes Rosenqvist <xeroc81@gmail.com> | 2022-05-04 12:49:24 +0200 |
---|---|---|
committer | Johannes Rosenqvist <xeroc81@gmail.com> | 2022-05-11 22:59:13 +0200 |
commit | bb334e8181c52ad1f2b1cf1b89337870579ac8b0 (patch) | |
tree | 3780f6af44f9e0476df946554d9ebb29c13e4848 /tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp | |
parent | 72d6b897a488a8952bb29de824d9dc484183c865 (diff) |
Fix a QDBusConnection crash with pending calls when connection is closed
QDBusConnection::closeConnection does not use deref() on pendingCall
list so if there is an QDBusPendingCallWatcher watching the
pending call the QDbusPendingCallPrivate destructor will
run twice causing a crash.
Pick-to: 5.15 6.2 6.3
Change-Id: Ib811da36d3510f4292aa310c52c0617b885947b7
Reviewed-by: Johannes Rosenqvist <xeroc81@gmail.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp')
0 files changed, 0 insertions, 0 deletions