Release memory consumed by Qt.createComponent in time
QML engine will run GC only 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 engine will run GC only after many QQmlComponent objects are created, so manually release the object by calling destroy() to let the memory be freed earlier.