Mercurial > vim
view src/proto/sound.pro @ 17708:10696f279e20 v8.1.1851
patch 8.1.1851: crash when sound_playfile() callback plays sound
commit https://github.com/vim/vim/commit/28e67e0c1496b7bb166a0acfb176690f219101ca
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Aug 15 23:05:49 2019 +0200
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 15 Aug 2019 23:15:04 +0200 |
parents | 905e1b154058 |
children | 71137f73c94d |
line wrap: on
line source
/* sound.c */ int has_any_sound_callback(void); int has_sound_callback_in_queue(void); void invoke_sound_callback(void); void f_sound_playevent(typval_T *argvars, typval_T *rettv); void f_sound_playfile(typval_T *argvars, typval_T *rettv); void f_sound_stop(typval_T *argvars, typval_T *rettv); void f_sound_clear(typval_T *argvars, typval_T *rettv); void sound_free(void); /* vim: set ft=c : */