Skip to content

Commit

Permalink
Fixed shutdown when no devices could be grabbed on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
houmain committed May 18, 2024
1 parent c40da9b commit 4926d8f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/server/unix/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ namespace {

void handle_shutdown_signal(int) {
g_shutdown.store(true);
g_state.disconnect();
}

int connection_loop() {
Expand Down

0 comments on commit 4926d8f

Please sign in to comment.