Only destroy the block if it hasn't been pushed into the block stack, or it will be destroyed again when destroying the block stack.
Only destroy the block if it hasn't been pushed into the block stack, or it will be destroyed again when destroying the block stack.