To view this graphic, your browser must support the SVG format. Either install a browser with native support, or install an appropriate plugin such as Adobe SVG Viewer.

Call the Release() method for
the simulation. The shutdown parameter can be
either true or false. If false, the
simulation is not shut down and the sequence ends here.

If shutdown is true, there
is a requirement for some interaction with all other attached callers.
To indicate the demand to shut down, the simulation issues the simShutdown() callback
to all registered simulation callback objects that are enabled for
this call.

The informed callers must stop their communication
with the simulation as soon as possible and remove any registered
callback objects from the simulation and its targets.

The affected callers must sign off with a Release() call
to announce successful disconnection from the simulation. Its shutdown parameter
is set to false as the shutdown is already in
progress (a value of true is ignored at this point).

After all callers have disconnected from the simulation,
the CADISimulation object can be destroyed.

If all callers have not disconnected, but the simulation
must urgently shut down, the simulation sends a simKilled() callback.
If this occurs, the caller must not access the corresponding simulation
in the future.

Multiple callers and the simulation initiates shutdown

Multiple callers are attached to a simulation and the simulation initiates its own shutdown.

This scenario is used, for example, if the simulation offers a user-interface for
interaction that permits ending the simulation: