kugel- commented on this pull request.

With this change scope does not freeze the Geany anymore. However, I was not 
able to enter commands in the gdb console (for which file descriptor this 
change is made for, right?).

> @@ -871,13 +893,24 @@ static gboolean spawn_write_cb(GIOChannel *channel, 
> GIOCondition condition, gpoi
 }
 
 
+static gboolean spawn_read_cb(GIOChannel *channel, GIOCondition condition, 
gpointer data);
+
+static gboolean spawn_timeout_read_cb(gpointer data)
+{
+       SpawnChannelData *sc = (SpawnChannelData *) data;
+
+       /* The solution for continuous empty G_IO_IN-s is to generate them 
outselves. :) */
+       return spawn_read_cb(sc->channel, G_IO_IN, data);

Shouldn't we attempt to become a normal callback again, instead of staying on 
the timeout source indefinitely?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1461#pullrequestreview-34236359

Reply via email to