diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2017-12-11 15:47:49 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2017-12-20 12:52:05 +0000 |
commit | 3bbf303403550e4e6f48b8778982d248651449ee (patch) | |
tree | c9e82b88263d2c33899e82c912a19b76a570c623 /src/qml/jsruntime/qv4function_p.h | |
parent | 8a7e205eed38ff506d3768083047d1caf8481303 (diff) |
Check the context matcher for isDestroyed() before assigning it
Some code "resets" a custom context matcher on destruction. As
destruction order of global objects is not defined, that may be after
the context matcher has already been destroyed.
Change-Id: I1d3869cb393c490ddb70b71a2d93578a03e2af79
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4function_p.h')
0 files changed, 0 insertions, 0 deletions