fix delete clip deadlock
authorGood Guy <good1.2guy@gmail.com>
Wed, 12 Dec 2018 03:21:46 +0000 (20:21 -0700)
committerGood Guy <good1.2guy@gmail.com>
Wed, 12 Dec 2018 03:21:46 +0000 (20:21 -0700)
cinelerra-5.1/cinelerra/clippopup.C

index 4027b8190a148b75898b637e4ca89820fd40d7d4..03e07be7952f1dff124500084a42e563e448cda1 100644 (file)
@@ -343,9 +343,11 @@ ClipPopupDelete::~ClipPopupDelete()
 
 int ClipPopupDelete::handle_event()
 {
+       popup->gui->unlock_window();
        mwindow->remove_assets_from_project(1, 1,
                mwindow->session->drag_assets,
                mwindow->session->drag_clips);
+       popup->gui->lock_window("ClipPopupDelete::handle_event");
        return 1;
 }