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