mirror of
https://github.com/mpv-player/mpv
synced 2025-01-13 00:06:25 +01:00
gui doesn't like exit() in forged process
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5983 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
4b4a3421ea
commit
19fecf9671
@ -255,7 +255,8 @@ stream_t* new_stream(int fd,int type){
|
||||
void free_stream(stream_t *s){
|
||||
printf("\n*** free_stream() called ***\n");
|
||||
if(s->cache_pid) {
|
||||
kill(s->cache_pid,SIGTERM);
|
||||
// kill(s->cache_pid,SIGTERM);
|
||||
kill(s->cache_pid,SIGKILL);
|
||||
waitpid(s->cache_pid,NULL,0);
|
||||
}
|
||||
if(s->priv) free(s->priv);
|
||||
|
Loading…
Reference in New Issue
Block a user