changeset 5982:b61b22fbcd08

gui doesn't like exit() in forged process
author arpi
date Sun, 05 May 2002 16:22:59 +0000
parents 25f0bf24fcf8
children 4d868c3c9fff
files libmpdemux/stream.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/stream.c	Sun May 05 15:33:50 2002 +0000
+++ b/libmpdemux/stream.c	Sun May 05 16:22:59 2002 +0000
@@ -255,7 +255,8 @@
 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);