]> git.sesse.net Git - mlt/commitdiff
Workaround Win32 apps sometimes hang on exit.
authorDan Dennedy <dan@dennedy.org>
Thu, 21 Nov 2013 03:30:58 +0000 (19:30 -0800)
committerDan Dennedy <dan@dennedy.org>
Thu, 21 Nov 2013 03:30:58 +0000 (19:30 -0800)
src/framework/mlt_factory.c

index 5c0c877f744c81b0c466e92f8699a5bb748386fa..b49f16b4b4dc1e19fe0efb6530a48096f28a12d2 100644 (file)
@@ -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 );