forked from aniani/vim
patch 7.4.866
Problem: Crash when changing the 'tags' option from a remote command. (Benjamin Fritz) Solution: Instead of executing messages immediately, use a queue, like for netbeans. (James Kolb)
This commit is contained in:
@@ -9033,11 +9033,11 @@ do_sleep(msec)
|
||||
{
|
||||
ui_delay(msec - done > 1000L ? 1000L : msec - done, TRUE);
|
||||
ui_breakcheck();
|
||||
#ifdef FEAT_NETBEANS_INTG
|
||||
/* Process the netbeans messages that may have been received in the
|
||||
* call to ui_breakcheck() when the GUI is in use. This may occur when
|
||||
* running a test case. */
|
||||
netbeans_parse_messages();
|
||||
#ifdef MESSAGE_QUEUE
|
||||
/* Process the netbeans and clientserver messages that may have been
|
||||
* received in the call to ui_breakcheck() when the GUI is in use. This
|
||||
* may occur when running a test case. */
|
||||
parse_queued_messages();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user