ccoverstreet / Jablko

Smart Home Interface powered by Go.
MIT License
1 stars 0 forks source link

Cleanup core/subprocess handling #121

Closed ccoverstreet closed 2 years ago

ccoverstreet commented 2 years ago

Right now, there is an issue of state handling in the subprocess type. Right now, if the module is stopped, the start method fails since it thinks the process is still running. A solution to this would be to set the state of the subprocess as finished running, allowing the subprocess start method to pass. This would involve manually setting some fields in the Stop method.