[vlc-commits] macosx: remove stray vlc_object_alive() call

Rémi Denis-Courmont git at videolan.org
Sat Jun 6 17:20:36 CEST 2015


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Jun  5 23:41:00 2015 +0300| [27f2b1a5e5916b533ae916f98c8cdb750fd8396f] | committer: Rémi Denis-Courmont

macosx: remove stray vlc_object_alive() call

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=27f2b1a5e5916b533ae916f98c8cdb750fd8396f
---

 modules/gui/macosx/intf.m |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index 7e3b047..e33831b 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -1377,7 +1377,7 @@ static bool f_appExit = false;
 {
     input_thread_t *p_input_changed = NULL;
 
-    if (p_current_input && (p_current_input->b_dead || !vlc_object_alive(p_current_input))) {
+    if (p_current_input && p_current_input->b_dead) {
         var_DelCallback(p_current_input, "intf-event", InputEvent, [VLCMain sharedInstance]);
         vlc_object_release(p_current_input);
         p_current_input = NULL;



More information about the vlc-commits mailing list