commit ca986bd33f1e386b9abf615d64594cc7520e35f4
Author: Richard Heck <[email protected]>
Date:   Sat Dec 12 12:57:33 2015 -0500

    Do not try even to hide buffers that are being processed by LyX.
    
    Should fix #9711.
    
    (cherry picked from commit a5ea77410e3acffb7f8ddd074a8c98f61dcdf95f)

diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp
index f1106b0..f6bd45d 100644
--- a/src/frontends/qt4/GuiView.cpp
+++ b/src/frontends/qt4/GuiView.cpp
@@ -2633,7 +2633,7 @@ bool GuiView::closeWorkArea(GuiWorkArea * wa, bool 
close_buffer)
 
        Buffer & buf = wa->bufferView().buffer();
 
-       if (close_buffer && GuiViewPrivate::busyBuffers.contains(&buf)) {
+       if (GuiViewPrivate::busyBuffers.contains(&buf)) {
                Alert::warning(_("Close document"), 
                        _("Document could not be closed because it is being 
processed by LyX."));
                return false;
diff --git a/status.21x b/status.21x
index 0f8a2b2..2461d73 100644
--- a/status.21x
+++ b/status.21x
@@ -78,6 +78,9 @@ What's new
 
 * USER INTERFACE
 
+- Fix crash when activating "Close All" while an export process is running
+  in the background (bug 9711).
+
 - Fix crash when unfolding/copying macros containing other macros (bug 9490).
 
 - Fix automatic insertion of longtable captions (bug 9692).

Reply via email to