Rigbox icon indicating copy to clipboard operation
Rigbox copied to clipboard

Stop services on error

Open k1o0 opened this issue 5 years ago • 0 comments

Is your feature request related to a problem? Please describe. When there is an error the services should be stopped by expServer.

Describe the solution you'd like Upon an error the cleanup method is run, however the cleanup event is not triggered. Perhaps it should be so that running services are stopped:

https://github.com/cortex-lab/Rigbox/blob/cd888f0ae2653ac78651243b22d566ab67a6fb60/%2Bexp/SignalsExp.m#L401-L419

Additionally it could be useful to include an input arg to services stop methods so that exception UDPs can be sent.

k1o0 avatar May 05 '20 15:05 k1o0