forked from aniani/vim
patch 8.1.1851: crash when sound_playfile() callback plays sound
Problem: Crash when sound_playfile() callback plays sound. Solution: Invoke callback later from event loop.
This commit is contained in:
@@ -4485,6 +4485,10 @@ parse_queued_messages(void)
|
||||
# endif
|
||||
# ifdef FEAT_TERMINAL
|
||||
free_unused_terminals();
|
||||
# endif
|
||||
# ifdef FEAT_SOUND_CANBERRA
|
||||
if (has_sound_callback_in_queue())
|
||||
invoke_sound_callback();
|
||||
# endif
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user