[gnome-keyring] ssh-agent: Set may_block to TRUE while waiting for ssh-agent process
- From: Daiki Ueno <dueno src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-keyring] ssh-agent: Set may_block to TRUE while waiting for ssh-agent process
- Date: Mon, 7 May 2018 07:26:35 +0000 (UTC)
commit fb0d66553753bdc0d700cb5c0bb2803d0690e9ff
Author: Daiki Ueno <dueno src gnome org>
Date: Mon May 7 09:22:56 2018 +0200
ssh-agent: Set may_block to TRUE while waiting for ssh-agent process
Potentially fix the busy loop reported in:
https://bugzilla.gnome.org/show_bug.cgi?id=794848
daemon/ssh-agent/gkd-ssh-agent-process.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/daemon/ssh-agent/gkd-ssh-agent-process.c b/daemon/ssh-agent/gkd-ssh-agent-process.c
index d3bb3a7..0f0433d 100644
--- a/daemon/ssh-agent/gkd-ssh-agent-process.c
+++ b/daemon/ssh-agent/gkd-ssh-agent-process.c
@@ -229,7 +229,7 @@ gkd_ssh_agent_process_connect (GkdSshAgentProcess *self,
if (started && !self->ready) {
source = g_timeout_add_seconds (5, on_timeout, &timedout);
while (!self->ready && !timedout)
- g_main_context_iteration (NULL, FALSE);
+ g_main_context_iteration (NULL, TRUE);
g_source_remove (source);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]