andrewdavidmackenzie / pigg

Raspberry Pi GPIO GUI
Apache License 2.0
208 stars 8 forks source link

Reset config and state vars on Hardware Disconnect #576

Closed andrewdavidmackenzie closed 1 week ago

andrewdavidmackenzie commented 1 week ago

On disconnecting from hardware, we conserve the loaded config in memory (and is reapplied if we connect to hardware again!). Also the unsaved changes state (and maybe more...) is conserved - it should be reset.

So, review all state that should be reset when we disconnect from hardware.