diff options
| author | Lars Knoll <lars.knoll@theqtcompany.com> | 2014-12-03 10:42:07 +0100 |
|---|---|---|
| committer | Simon Hausmann <simon.hausmann@digia.com> | 2014-12-20 12:00:04 +0100 |
| commit | db7b7d4161048ec481d80deaac5ff8cfa9487626 (patch) | |
| tree | 752f9935485909f936c6adbcfd847cfa4763c85e /src/qml/jsruntime/qv4functionobject.cpp | |
| parent | 42aba3076dc9b6c4f8f35dd79cbf2992f7373d4f (diff) | |
Return a Heap object from the getter()/setter() methods of Property
We actually need to put the returned value into a ScopedFunctionObject
before calling it, as the Property could get deleted during the call
leading to a dangling pointer. With a GC that moves objects this will
become even more important.
Change-Id: I43bece6f80eb3501c1291065846e230a59ae8aed
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4functionobject.cpp')
0 files changed, 0 insertions, 0 deletions
