Notify heap on context disposal

Resolves issues where the global context buffers are retained until extreme memory stress occurs.
Merge pull request #125 from kpdecker/notify-disposed

Notify heap on context disposal