Contents (package MULK.OBJECTIVE-CL)


Function SHUTDOWN-RUNTIME

Purpose:

Shut the Objective-C runtime down.

Syntax:

shutdown-runtime

Description:

The function shutdown-runtime cleans the environment up. In particular, it tries to release all the objects retained in any autorelease pools created by initialise-runtime.

Note that even if you make use of AppKit, which manages its own autorelease pools, you must call initialise-runtime before making any Objective-C calls, and you should call shutdown-runtime when you are finished with Objective-C, since Objective-CL makes use of autoreleased objects internally before you are even able to retrieve any objects or classes, let alone send messages to them.

See also:

initialise-runtime