Run the first writes into a FRESH geometry's element storage (just
attached by attachElementStorage). If they throw — a texel
writer's short-source guard — the geometry is disposed, which frees the
texture its dispose listener owns, and the error is rethrown: the pair
has no owner yet, and every caller keeps its mesh on the OLD geometry
when a build throws. The one rule for the points, lines and gsplats
non-pool builders.
Run the first writes into a FRESH geometry's element storage (just attached by attachElementStorage). If they throw — a texel writer's short-source guard — the geometry is disposed, which frees the texture its dispose listener owns, and the error is rethrown: the pair has no owner yet, and every caller keeps its mesh on the OLD geometry when a build throws. The one rule for the points, lines and gsplats non-pool builders.