Skip to content

Commit bd73ae1

Browse files
committed
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)
1 parent 2cd5bb2 commit bd73ae1

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/channel.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1706,9 +1706,9 @@ channel_read(channel_T *channel, int part, char *func)
17061706
}
17071707
#endif
17081708

1709-
/* Reading a socket disconnection (readlen == 0), or a socket error.
1709+
/* Reading a disconnection (readlen == 0), or an error.
17101710
* TODO: call error callback. */
1711-
if (readlen <= 0 && channel->ch_job == NULL)
1711+
if (readlen <= 0)
17121712
{
17131713
/* Queue a "DETACH" netbeans message in the command queue in order to
17141714
* terminate the netbeans session later. Do not end the session here

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -748,6 +748,8 @@ static char *(features[]) =
748748

749749
static int included_patches[] =
750750
{ /* Add new patch number below this line */
751+
/**/
752+
1393,
751753
/**/
752754
1392,
753755
/**/

0 commit comments

Comments
 (0)