Revision 9dddf52...
Go back to digest for 2nd October 2011Bug Fixes in Utilities
Avoid crashes due to an event loop being executed while code in some tool class is running
It must be ensured that no event loop is started whenever some tool operation is running. This
includes running code inside the tool classes!
The reason for that is that an event loop might trigger the deletion a tool object for which code
is currently executed, for instance with the 'stopLivePreview' method.
An event loop is executed, for example, within the 'documentSave' method of KatePart. Although the event
loop doesn't process user events, the document modification timer might still be triggered in such
an event loop and 'stopLivePreview' will be called. Now, no document saving is performed inside tool
classes anymore (including the tool manager).
File Changes
- src/kile.cpp
- src/kile.h
- src/kilelauncher.cpp
- src/kilestdtools.cpp
- src/kilestdtools.h
- src/kiletool.cpp
- src/kiletool.h
- src/kiletoolmanager.cpp
- src/kiletoolmanager.h
- src/livepreview.cpp
- src/quickpreview.cpp
- src/userhelp.cpp
- src/widgets/previewwidget.cpp