Routines (alphabetical) > Object Classes > Network Object Classes > IDLnetJPIP::Cleanup

# IDLnetJPIP::Cleanup

The IDLnetJPIP::Cleanup method performs all cleanup on the object.

Note: You invoke Cleanup when you call OBJ_DESTROY. Cleanup methods are special lifecycle methods and as such cannot be called outside the context of object 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 IDLnetJPIP, you can call the Cleanup method from within the Cleanup method of the subclass.

Note: Calling OBJ_DESTROY will also close any open connections to a remote JPIP server.

## Syntax

OBJ_DESTROY, Obj

## Return Value

None.

## Arguments

None.

## Keywords

None.

## Version History

8.3 | Introduced