Skip to content

Commit

Permalink
Workaround to prevent qmelt on OS X from crashing at exit.
Browse files Browse the repository at this point in the history
P.S. This only happens when the jackrack module also exists!
  • Loading branch information
ddennedy committed Jun 16, 2013
1 parent 9121ecc commit 894480b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/melt/melt.c
Original file line number Diff line number Diff line change
Expand Up @@ -988,8 +988,11 @@ int main( int argc, char **argv )
mlt_profile_close( profile );

exit_factory:


// Workaround qmelt on OS X from crashing at exit.
#if !defined(__MACH__) || !defined(QT_GUI_LIB)
mlt_factory_close( );
#endif

return 0;
}

0 comments on commit 894480b

Please sign in to comment.