summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qvariant.cpp
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2013-05-14 11:45:32 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-05-20 09:08:59 +0200
commit65f953407a3a1726db3949743c28e1f9e2ad0e8b (patch)
tree2c12a5351754950257bff9d857a1751cd1258dd4 /src/corelib/kernel/qvariant.cpp
parent1da8cd6e480b2dc190b52cbea89aa05965708f97 (diff)
Change the ownership semantics of metatype converter functions.
Destroying the instances is a problem because the instances might have been created in a plugin. In that case, the destructor of the instance will be implemented in the plugin. As the instance destruction code is run very late, the plugin might have already been unloaded by the time an attempt is made to destroy the instance. The workaround is to create static instances on the stack. Task-number: QTBUG-31142 Change-Id: Ic2632c3548a734b742da46d90249916c35705d46 Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com> Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
Diffstat (limited to 'src/corelib/kernel/qvariant.cpp')
0 files changed, 0 insertions, 0 deletions