CohenLabPrinceton / pvp

Raspberry pi code for controlling the rapid-deploy critical care ventilator
GNU General Public License v3.0
13 stars 15 forks source link

fix: stop process if normally terminate the ProcessManager #53

Closed sunnyszy closed 4 years ago

sunnyszy commented 4 years ago

I made a fix to ProcessManager. Previously stop_process needs to be manually called to kill the remote process. However, this complicates the testing and GUI tasks.

Therefore, the remote process is automatically killed at ProcessManager deconstruction. And I assume during GUI hang/crash, this code won't be called.