commit 33c68d7750e4615747b27b1963ba63f53ff912ac
Author: Pavel Sanda <[email protected]>
Date:   Fri Jan 28 18:12:45 2022 +0100

    Revert 65b674ba4eff.
    
    We do not for what crash was this fix intended, but we know
    that the fix introduced freeze in xhtml exports (e.g. merged manual).
    
    https://www.mail-archive.com/[email protected]/msg216835.html
---
 src/Buffer.cpp |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/src/Buffer.cpp b/src/Buffer.cpp
index 7cb5ac2..cfdb9d9 100644
--- a/src/Buffer.cpp
+++ b/src/Buffer.cpp
@@ -3547,9 +3547,6 @@ void Buffer::collectChildren(ListOfBuffers & children, 
bool grand_children) cons
        // loop over children
        for (auto const & p : d->children_positions) {
                Buffer * child = const_cast<Buffer *>(p.first);
-               // This can happen when called during GUI operations
-               if (!theBufferList().isLoaded(child))
-                       continue;
                // No duplicates
                ListOfBuffers::const_iterator bit = find(children.begin(), 
children.end(), child);
                if (bit != children.end())
-- 
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to