Grrr at subsubsubsubdirectories
[vlc.git] / modules / misc / lua / libs / misc.c
index d9b8afa..bca7926 100644 (file)
@@ -208,7 +208,7 @@ static int vlclua_mwait( lua_State *L )
 static int vlclua_intf_should_die( lua_State *L )
 {
     intf_thread_t *p_intf = (intf_thread_t*)vlclua_get_this( L );
-    lua_pushboolean( L, intf_ShouldDie( p_intf ) );
+    lua_pushboolean( L, !vlc_object_alive( p_intf ) );
     return 1;
 }