shutdown.RdShutting down an instance will free the instance itself and all of the objects it created. Any attempted operation on the instance after that will raise an error.
shutdown(core)Handle to a Hector instance
The Hector instance handle
This function should be called as mycore <- shutdown(mycore) so that the change
from active to inactive will be recorded in the caller.