diff options
Diffstat (limited to 'usr.bin/aucat/dev.c')
-rw-r--r-- | usr.bin/aucat/dev.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/aucat/dev.c b/usr.bin/aucat/dev.c index 28665e77e17..8e3a2e4fe45 100644 --- a/usr.bin/aucat/dev.c +++ b/usr.bin/aucat/dev.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dev.c,v 1.42 2010/01/13 10:02:52 ratchov Exp $ */ +/* $OpenBSD: dev.c,v 1.43 2010/01/16 23:18:31 ratchov Exp $ */ /* * Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org> * @@ -335,6 +335,8 @@ dev_done(void) } if (dev_midi) { dev_midi->flags |= APROC_QUIT; + if (LIST_EMPTY(&dev_midi->ibuflist)) + aproc_del(dev_midi); restart_midi: LIST_FOREACH(f, &file_list, entry) { if (f->rproc && |