* Removes a child chunk group and clears the corresponding parent link on * the removed child. * @param {ChunkGroup} group the chunk group to remove * @returns {boolean} returns true if the chunk group was removed
(group)
| 332 | * @returns {boolean} returns true if the chunk group was removed |
| 333 | */ |
| 334 | removeChild(group) { |
| 335 | if (!this._children.has(group)) { |
| 336 | return false; |
| 337 | } |
| 338 | |
| 339 | this._children.delete(group); |
| 340 | group.removeParent(this); |
| 341 | return true; |
| 342 | } |
| 343 | |
| 344 | /** |
| 345 | * Records a parent chunk group relationship. |
no test coverage detected