Repository navigation
v1.4.11
Make the unload synchronous so the fan hand-back actually runs
An await inside _unload never resumes. Decky stops ticking the event loop after the stop request, so no timer fires and no thread result is collected, and the plugin is SIGKILLed at 5 seconds. Measured with a probe writing to a file: execution reached the first await and sat there until the kill, even with a 2 second timeout on a call whose work takes 0.02 seconds. The 1.4.10 timeouts bounded nothing. _unload now hands the fan back inline, cancels the watchers and returns without awaiting. Measured on the Deck with jupiter-fan-control stopped first: unload returns in 0.031 seconds and Decky reports stopped in 0.1s with no SIGKILL, against 5.1 seconds before.