Notify heap on context disposal

Resolves issues where the global context buffers are retained until extreme memory stress occurs.