$NetBSD: patch-ad,v 1.1.1.1 2004/05/02 22:59:16 xtraeme Exp $

--- src/gtkgui2/gtk2_gui.cpp.orig	2004-05-03 00:51:21.000000000 +0200
+++ src/gtkgui2/gtk2_gui.cpp	2004-05-03 00:51:33.000000000 +0200
@@ -47,6 +47,7 @@
       _mix->quit = true;
     } else {
       int i;
+      lock();
       wait();
 
       /* update channels */
