fredemmott / StreamDeck-CPPSDK

A fork of Elgato's C++ StreamDeck SDK, focussing on reusability
MIT License
44 stars 10 forks source link

Ensure clean shutdown on exit #7

Closed fredemmott closed 3 years ago

fredemmott commented 3 years ago

If the asio context isn't just used for the websocket, run() won't necessarily terminate when the websocket is closed, as there may be other events in the loop. This can lead to streamdeck force-killing the app after a delay