dispose

fun dispose()

Stops video rendering and releases acquired resources.

NOTE: this method should be invoked last to prevent resource leakage.