Skip to content

Commit 4e86150

Browse files
committed
patch 7.4.897
Problem: Freeze and crash when there is a sleep in a remote command. (Karl Yngve Lervåg) Solution: Remove a message from the queue before dealing with it. (James Kolb)
1 parent b4f6a46 commit 4e86150

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/if_xcmdsrv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1235,9 +1235,9 @@ server_parse_messages()
12351235
while (head.next != NULL && head.next != &head)
12361236
{
12371237
node = head.next;
1238-
server_parse_message(X_DISPLAY, node->propInfo, node->len);
12391238
head.next = node->next;
12401239
node->next->prev = node->prev;
1240+
server_parse_message(X_DISPLAY, node->propInfo, node->len);
12411241
vim_free(node);
12421242
}
12431243
}

src/version.c

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

742742
static int included_patches[] =
743743
{ /* Add new patch number below this line */
744+
/**/
745+
897,
744746
/**/
745747
896,
746748
/**/

0 commit comments

Comments
 (0)