##// END OF EJS Templates
Don't call .remove() method of objects bound to the container
cin -
r165:c446ccde5f9f v1.4.2 default
parent child
Show More
@@ -100,8 +100,6 export class LifetimeManager implements
100 100 self._cleanup.push(() => cleanup(item));
101 101 } else if (isDestroyable(item)) {
102 102 self._cleanup.push(() => item.destroy());
103 } else if (isRemovable(item)) {
104 self._cleanup.push(() => item.remove());
105 103 }
106 104 }
107 105 };
General Comments 0
You need to be logged in to leave comments. Login now