applets/taskmanager: fix two memory leaks by Qt.createComponent
According the the source code in qqmlbuiltinfunctions.cpp, the object returned from QtObject::createComponent is not indestructible, which means it will remain in the memory if destroy() is not called manually.
Please register or sign in to comment