dispose

Deprecated (with error)

Use close

Replace with

close()