From: Dan Dennedy Date: Thu, 21 Nov 2013 03:30:58 +0000 (-0800) Subject: Workaround Win32 apps sometimes hang on exit. X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=f353107ceea325133eca3bfb4a165f4831e65814;p=mlt Workaround Win32 apps sometimes hang on exit. --- diff --git a/src/framework/mlt_factory.c b/src/framework/mlt_factory.c index 5c0c877f..b49f16b4 100644 --- a/src/framework/mlt_factory.c +++ b/src/framework/mlt_factory.c @@ -408,8 +408,12 @@ void mlt_factory_close( ) { mlt_properties_close( event_object ); event_object = NULL; +#if !defined(WIN32) + // XXX something in here is causing Shotcut/Win32 to not exit completely + // under certain conditions: e.g. play a playlist. mlt_properties_close( global_properties ); global_properties = NULL; +#endif if ( repository ) { mlt_repository_close( repository );