hello guys, i encountered similar problem and can reproduce the problem
the problem is when you have two object (control or vi), one belong to a class and one belong to nothing
the one belong to the class cannot be removed because the memory is occupied by the one belong to nothing