This method is called when a frame that shows this buffer is closed.
Does nothing.
Deletes the autosave file and turns off autosaving.