IDL_Savefile::Cleanup

Syntax | Arguments | Keywords | Version History

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.

Note
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.

Syntax

OBJ_DESTROY, Obj

or

Obj->[IDL_Savefile::]Cleanup     (In a lifecycle method only.)

Arguments

None.

Keywords

None.

Version History

6.1

Introduced