]> git.sesse.net Git - vlc/blobdiff - src/misc/objects.c
Slightly improve the warning
[vlc] / src / misc / objects.c
index 7e8e7ef93818988ff91a06829a96009558b8363f..b80230d0d64b30f85fccb14ba831f92945c8e0a6 100644 (file)
@@ -303,8 +303,8 @@ static void vlc_object_destroy( vlc_object_t *p_this )
     if( p_priv->b_thread )
     {
         msg_Warn (p_this->p_libvlc, /* do NOT use a dead object for logging! */
-                  "object %d destroyed while thread alive (VLC might crash)",
-                  p_this->i_object_id);
+                  "%s %d destroyed while thread alive (VLC might crash)",
+                  p_this->psz_object_type, p_this->i_object_id);
         vlc_thread_join( p_this );
     }