The IDL_Savefile::Cleanup procedure method performs all necessary cleanup when the savefile object is destroyed. The SAVE file associated with the object is closed. In addition, all in-memory data structures created by IDL when cataloging the SAVE file are released.
Cleanup methods are special life cycle methods, and as such cannot be called outside the context of object creation and destruction. This means that in most cases, you cannot call the Cleanup method directly. There is one exception to this rule: If you write your own subclass of this class, you can call the Cleanup method from within the Init or Cleanup method of the subclass.
Obj->IDL_Savefile::Cleanup (Only in subclass' Cleanup method.)