| @@ -100,8 +100,6 export class LifetimeManager implements | |||||
| 100 | self._cleanup.push(() => cleanup(item)); |
|
100 | self._cleanup.push(() => cleanup(item)); | |
| 101 | } else if (isDestroyable(item)) { |
|
101 | } else if (isDestroyable(item)) { | |
| 102 | self._cleanup.push(() => item.destroy()); |
|
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
