For example, when I use Pt with React I should be able to destroy the Canvas Instance when the component leave.