open fun release(): Unit
Removes all external class references. Has to be called when the implementing class is not needed anymore.