Use intf_ShouldDie()
authorRafaël Carré <funman@videolan.org>
Tue, 18 Sep 2007 16:17:51 +0000 (16:17 +0000)
committerRafaël Carré <funman@videolan.org>
Tue, 18 Sep 2007 16:17:51 +0000 (16:17 +0000)
modules/control/dbus.c

index c8237bf..85b41f9 100644 (file)
@@ -732,7 +732,7 @@ static void Close   ( vlc_object_t *p_this )
 
 static void Run          ( intf_thread_t *p_intf )
 {
-    while( !p_intf->b_die )
+    while( !intf_ShouldDie( p_intf ) )
     {
         msleep( INTF_IDLE_SLEEP );
         dbus_connection_read_write_dispatch( p_intf->p_sys->p_conn, 0 );