]> git.sesse.net Git - vlc/commitdiff
Fix deadlock (hopefully)
authorAntoine Cellerier <dionoea@videolan.org>
Sun, 17 Sep 2006 19:50:03 +0000 (19:50 +0000)
committerAntoine Cellerier <dionoea@videolan.org>
Sun, 17 Sep 2006 19:50:03 +0000 (19:50 +0000)
modules/misc/audioscrobbler.c

index 75b8fb2bd5314d3faf53f935cb0819daa55c2dcd..28da0382d68737074b6e7b6a5e6d381c08ff761c 100644 (file)
@@ -476,6 +476,10 @@ static void Run( intf_thread_t *p_this )
             p_sys->b_metadata_read = VLC_TRUE;
             vlc_mutex_unlock( &p_sys->lock );
         }
+        else
+        {
+            PL_UNLOCK;
+        }
 
         pl_Release( p_playlist );
         vlc_mutex_lock( &p_sys->lock );