timothycrosley / streamdeck-ui

A Linux compatible UI for the Elgato Stream Deck.
https://timothycrosley.github.io/streamdeck-ui/
MIT License
1.13k stars 243 forks source link

lock streamdeck_ui.lock is never released/deleted #376

Open zen2 opened 8 months ago

zen2 commented 8 months ago

Describe the bug Once streamdeck-ui have exited properly by using "exit" in interface or sending signal SIGTERM to terminate the process you still can find the lock file streamdeck_ui.lock (/tmp/streamdeck_ui.lock on my system).

To Reproduce Steps to reproduce the behavior:

  1. Launch streamdeck-ui
  2. Exit streamdeck-ui
  3. ls -l /tmp/streamdeck_ui.lock

Expected behavior Lock file shouldn't exist any more once streamdeck-ui have terminated.

Operating system (please complete the following information)

Stream Deck Version

cstromblad commented 5 months ago

I have created a pull request to fix this bug. https://github.com/timothycrosley/streamdeck-ui/pull/378