diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2010-03-29 15:36:02 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2010-03-29 17:14:59 (GMT) |
commit | 3e5745ea75d73869918889cb374c3d651bed0991 (patch) | |
tree | a67c644259d542131353a3ed68f83b32d3d3fb1c /doc/src/snippets/code/src_script_qscriptable.cpp | |
parent | 9e3304246acf5b58a2ce86eed082784da818a8f0 (diff) | |
download | Qt-3e5745ea75d73869918889cb374c3d651bed0991.zip Qt-3e5745ea75d73869918889cb374c3d651bed0991.tar.gz Qt-3e5745ea75d73869918889cb374c3d651bed0991.tar.bz2 |
QScriptEngine: Fix reentrency involving creation and desctructions of QScriptEngines
the currentIdentifierTable table, which is a static thread local variable, could be corrupted.
The main change is to fix the QScriptEngine constructor not to alter the currentIdentifierTable
This showed a lot of cases where APIShim guards where missings.
The problem was seen with creator, related to QTBUG-9426
Reviewed-by: Jedrzej Nowacki
Diffstat (limited to 'doc/src/snippets/code/src_script_qscriptable.cpp')
0 files changed, 0 insertions, 0 deletions