Method: Orchestrator::Api::SystemsController#stop
- Defined in:
- app/controllers/orchestrator/api/systems_controller.rb
#stop ⇒ Object
100 101 102 103 104 105 106 107 108 109 110 111 |
# File 'app/controllers/orchestrator/api/systems_controller.rb', line 100 def stop # Stop all modules in the system (shared or not) @cs.modules.each do |mod_id| mod = control.loaded? mod_id if mod mod.thread.next_tick do mod.stop end end end render :nothing => true end |