diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2021-01-12 13:34:04 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2021-01-12 13:48:23 +0100 |
commit | 4c67ae2dd9a49348ed5b2d733a60ed0b06c5d203 (patch) | |
tree | 18976038386581cffb4a33ebd74a8e862339aa27 /tests/auto/qml | |
parent | 0471a897ae4e08e3a3b69fd31c337f4c530eb500 (diff) |
Make QQmlImport::removeDynamicPlugin() safer
Consistently never unload plugins on macOS, also remove half-broken
plugins from the map, and always unregister any types in them.
Unloading plugins on macOS is ill-advised as it will actually unmap the
memory, making string data (among other things) inaccessible. We've
already done the same change to qmlClearEnginePlugins().
Change-Id: I8fa40db5c3cd83f12e6d85d0efc3b9679dd4381e
Reviewed-by: Maximilian Goldstein <max.goldstein@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests/auto/qml')
0 files changed, 0 insertions, 0 deletions