patch 7.4.1393
Problem: Starting a job hangs in the GUI. (Takuya Fujiwara)
Solution: Don't check if ch_job is NULL when checking for an error.
(Yasuhiro Matsumoto)
diff --git a/src/channel.c b/src/channel.c
index aa97088..f189ac0 100644
--- a/src/channel.c
+++ b/src/channel.c
@@ -1706,9 +1706,9 @@
}
#endif
- /* Reading a socket disconnection (readlen == 0), or a socket error.
+ /* Reading a disconnection (readlen == 0), or an error.
* TODO: call error callback. */
- if (readlen <= 0 && channel->ch_job == NULL)
+ if (readlen <= 0)
{
/* Queue a "DETACH" netbeans message in the command queue in order to
* terminate the netbeans session later. Do not end the session here