release() and close() are defined on all plugin configs and contexts but are never called anywhere — MediaApp and PluginRegistry have no lifecycle cleanup at all. Additionally, close() is an empty placeholder in all four
contexts. ImageContext.release() clears the storage map but does not call .release() on the OpenCV Mat objects held inside, leaking native memory.
Acceptance Criteria:
release() and close() are defined on all plugin configs and contexts but are never called anywhere — MediaApp and PluginRegistry have no lifecycle cleanup at all. Additionally, close() is an empty placeholder in all four
contexts. ImageContext.release() clears the storage map but does not call .release() on the OpenCV Mat objects held inside, leaking native memory.
Acceptance Criteria: