Commit 7a0f077c authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

macosx: Fix a race condition that causes a crash at exit because VLCIntf holds a freed ptr.

parent 476255cc
......@@ -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];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment