aboutsummaryrefslogtreecommitdiffstats
path: root/src/location-geoclue2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/location-geoclue2.c')
-rw-r--r--src/location-geoclue2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/location-geoclue2.c b/src/location-geoclue2.c
index 69323c2..ced6eb8 100644
--- a/src/location-geoclue2.c
+++ b/src/location-geoclue2.c
@@ -386,7 +386,8 @@ geoclue2_free(struct location_state *state)
if (state->pipe_fd_read >= 0)
close(state->pipe_fd_read);
- /* Closing the pipe should cause the thread to exit */
+ /* Closing the pipe should cause the thread to exit, but it may be blocked by I/O */
+ install_forceful_exit_signal_handlers();
g_thread_join(state->thread);
state->thread = NULL;