summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2014-03-11 09:18:17 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-11 09:27:13 +0100
commit08d9ef715265d33f4cf04693b0787fd75994dc42 (patch)
tree191459fb83a6c8d2cf46bb8b25e3753393411dad /examples
parent81993bab2cb1d37af4b9893ff10305920069b9e6 (diff)
downloadqtscript-08d9ef715265d33f4cf04693b0787fd75994dc42.tar.gz
Fix recursive calling of QScriptProgramv5.3.0-rc1v5.3.0-beta1v5.3.0release5.3.0
The first time a QScriptProgram is evaluated, it gets compiled and then executed. If the execution would somehow trigger another evaluation of the script program, it would run into the compile stage again (even though it already was compiled), and then trigger and assertion in debug mode (or leak memory in release builds). Task-number: QTBUG-37317 Change-Id: I83e7efd5f238d021e200258826e2e4a9520c3a7d Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions