dispose

Deprecated (with error)

Use close() instead

Replace with

close()