Skip to content

Commit 4926d8f

Browse files
committed
Fixed shutdown when no devices could be grabbed on Linux
1 parent c40da9b commit 4926d8f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/server/unix/main.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ namespace {
132132

133133
void handle_shutdown_signal(int) {
134134
g_shutdown.store(true);
135+
g_state.disconnect();
135136
}
136137

137138
int connection_loop() {

0 commit comments

Comments
 (0)