[Kde-pim] Review Request: Fix crash in kontact when unloading plugin
Sergio Martins
iamsergio at gmail.com
Fri Mar 27 23:34:52 GMT 2009
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/430/
-----------------------------------------------------------
Review request for KDE PIM and Rafael Fernández.
Summary
-------
If you do some plugin loading and unloading you'll get a crash sooner or later. I patched the code, it's working now, but I don't know if I'm missing the bigger picture so I asked ereslibre to review this since I found his name in svn praise, so He'll probably know this code better than us :).
Basically, if you look at "it2" in the old code you'll see that it gets deleted regardless of the plugin type you're unloading. While debugging I saw for example the to-do's actionPlugin getting deleted when I unloaded something else.
This addresses bug 108007.
https://bugs.kde.org/show_bug.cgi?id=108007
Diffs
-----
trunk/KDE/kdepim/kontact/src/mainwindow.cpp 945444
Diff: http://reviewboard.kde.org/r/430/diff
Testing
-------
Many loadings and unloadings
Thanks,
Sergio
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
More information about the kde-pim
mailing list