Release memory consumed by Qt.createComponent in time
QML GC will run after many QQmlComponent objects are created, so manually release the object by calling destroy() to let the memory be freed earlier.
Edited by Fushan Wen
QML GC will run after many QQmlComponent objects are created, so manually release the object by calling destroy() to let the memory be freed earlier.