context: Clear all vectors of JS::Heap on dispose
Otherwise we might still have some JS::Heap
s lingering after
JS_DestroyContext
, which will fail to destruct (crash) when their
destructors are called later in ~GjsContextPrivate()
.
Fixes: #472 (closed)