newObjects-logo.gif (1024 bytes) ScriptManager2 and ScriptAggregate reference
Close method

Uninitializes the script and the script engine(s). After calling this method object is unlocked and namespaces collection can be fully managed - objects can be deleted from it.


object ScriptManager2 or ScriptAggregate Previously created ScriptManager2/ScriptAggregate object


Method has no effect if the script engine is not loaded. In other cases it closes the existing script engine(s) (initialized using the LoadEngine method or AddEngine in ScriptAggregate) and releases it/them. After calling the Close method the component can be reused again - it must be again initialized with the script engine and so on.

Applies to:

ScriptManager2 and ScriptAggregate objects

See also:

C++ Helper SCPHOSTCLNT::Close method

newObjects Copyright newObjects 2001-2005