Stopping the Runtime

This article was written for version 2.0.9 of Core. Click here for the most recent version of the help center.

1. PolySync Manager

Stopping an active runtime is simple, and is handled by the PolySync manager.

1.1 Stopping the manager

Stop the manager and all nodes that it had spawned, by passing the -q flag:

$ polysync-core-manager -q

1.2 Cleaning the environment

It’s possible that the runtime can become offset. For example if a runtime node were forcefully killed and it wasn’t able to properly release its PolySync resources, causing the shared resources on the host to become off-by-one. In this case you would force-clean the shared resources on the host using the manager.

First stop all nodes such as Studio, and nodes which were manually spawned in a terminal window.

Next pass the -f flag to the manager:

$ polysync-core-manager -f  

The manager will detect if -q needs to be run before cleaning the environment.