Each instance of an OleAutomationObject has some operating system resources associated with it that must be freed when they are no longer required. Hence, when an OLE automation controller is finished using these objects, it must release those resources. The OleAutomationObject instance method releaseObject performs this function. For example, in the previous example the three Microsoft Excel OLE automation objects should be released immediately after the Quit method is invoked:
...application invoke: 'Quit' withArguments: #() workBook releaseObject. application releaseObject. excel releaseObject.