Showing the changes to libraries/script-engine/src/qtscript/ScriptEngineQtScript.h (1 of 2 files). Show all
Unified · Split
| @@ -181,7 +181,7 @@ protected: · 180 unmodified lines | ||
| 181 | 181 | |
| 182 | 182 | QPointer<ScriptManager> _scriptManager; |
| 183 | 183 | |
| 184 | − mutable QMutex _customTypeProtect; | |
| 184 | + mutable QReadWriteLock _customTypeProtect { QReadWriteLock::Recursive }; | |
| 185 | 185 | CustomMarshalMap _customTypes; |
| 186 | 186 | CustomPrototypeMap _customPrototypes; |
| 187 | 187 | ScriptValue _nullValue; |