blockly > Block > destroy

Block.destroy property

An optional method called during disposal.

Signature:

destroy?: () => void;