Commit 9b5a5510 authored by Alan Alpert's avatar Alan Alpert Committed by The Qt Project
Browse files

Add qmlClearRegisteredTypes Function


Registered types are stored in a global static variable, not on an
engine instance. For applications managing multiple engines over their
lifetime, there needs to be a way to clear the existing types so they
can register new ones and avoid memory leaks.

Task-Number: QTBUG-28572
Change-Id: Ic70a4dd1e29d99399b21fb42eaf10d4a52bf2adf
Reviewed-by: default avatarChristopher Adams <chris.adams@jollamobile.com>
parent 22331347
No related merge requests found
Showing with 467 additions and 3 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment