diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index 7a98a5c2399a7349399374f1e0b69a42417e2b95..c650013d17e9c143ae063f18e4d03cdafb2ab761 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -121,6 +121,8 @@ void E_(CloseIntf) ( vlc_object_t *p_this )
 {
     intf_thread_t *p_intf = (intf_thread_t*) p_this;
 
+    [[VLCMain sharedInstance] setIntf: nil];
+    
     msg_Unsubscribe( p_intf, p_intf->p_sys->p_sub );
 
     [p_intf->p_sys->o_sendport release];