This patch fixes crash reported as BUG "#885018 Crash
when trying to save scratchpad" for me. But this is
more like an workaround than real fix/solution. And I
haven't even tested this with plugins...
But comparing without plugins work and scratchpads can
be saved without crash.
Idea is simple, don't initialise
CMergeDoc::m_pInfoUnpacker until it is really needed
(when loading files). Scratchpads do not load files, so
it remains NULL and we check for NULL value before
running plugins when saving.
Log in to post a comment.