diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2016-07-16 14:43:50 +0200 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2016-07-19 11:28:55 +0000 |
commit | c8277b6e5322da5fa74cf81e295c8ed71beb1624 (patch) | |
tree | 1b91507dadaabe42a79429cc6c7bb8a476b15858 /util | |
parent | 091df96fb8da356dc9de81dc390f55e66d4d7c01 (diff) |
QThread: make it fatal to destroy a running QThread
Align ourselves to what std::thread does (and what's sensible to do anyhow,
since we even document that "Deleting a running QThread [...] will probably
result in a program crash").
[ChangeLog][QtCore][QThread] Destroying a QThread which is still running will
now result in immediate and abnormal program termination.
Change-Id: Ib481287915be01a1381df14abf6e0fb68c36b5b5
Reviewed-by: David Faure <david.faure@kdab.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions