From: Jean-Marc Lasgouttes Date: Mon, 21 Nov 2016 15:54:45 +0000 (+0100) Subject: Clear temp cutstack before exiting LyX. X-Git-Tag: 2.3.0alpha1~723 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=004fdf6aebd7669c4b1df33236fe2a8f515584c0;p=features.git Clear temp cutstack before exiting LyX. Otherwise it is done in the exit handler, which leads to crashes. --- diff --git a/src/CutAndPaste.cpp b/src/CutAndPaste.cpp index 3cceb2bba5..7e09ac9ff9 100644 --- a/src/CutAndPaste.cpp +++ b/src/CutAndPaste.cpp @@ -1072,6 +1072,7 @@ void clearSelection() void clearCutStack() { theCuts.clear(); + tempCut.clear(); }