#510 Skip plugins for scratchpad

closed-rejected
nobody
None
5
2004-01-28
2004-01-27
Kimmo Varis
No

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.

Discussion

  • Kimmo Varis

    Kimmo Varis - 2004-01-27

    oOriginal and altered files

     
  • Kimmo Varis

    Kimmo Varis - 2004-01-28
    • status: open --> closed-rejected
     
  • Kimmo Varis

    Kimmo Varis - 2004-01-28

    Logged In: YES
    user_id=631874

    Rejecting.

    This is wrong approach to this problem.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks