Before it exits, an Automation controller application should close OLE down by calling OLE-uninitialize, page 215. This function ensures that the Microsoft OLE/COM libraries have been uninitialized on the local machine.
OLE, COM, ActiveX and DBMS Reference - 31 MAR 2000