kicad/common/tool
Seth Hillbrand 995b2c517d Catch some crashes on shutdown
These can happen when a tool is active that sends signals when exiting
(e.g. deselectEvent).  These may be caught by the active loop in another
tool which might try to update the UI after it has been freed.  By
marking all tools as "shutdown", the only event returned to them should
be null.  As an extra precaution, we flag the shutdown globally within
the tool manager and check this flag before launching either events or
new tools

Fixes https://gitlab.com/kicad/code/kicad/issues/10698

(cherry picked from commit db4f2d9dd8)
2022-07-18 09:48:16 -07:00
..
action_manager.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
action_menu.cpp Change the behavior of ACTION_MENU::Add to require clones if required outside the function 2022-04-11 20:39:08 -04:00
action_toolbar.cpp Suppress wx3.1.6 assert because it wants the window handle for dpi 2022-05-11 22:53:02 +00:00
actions.cpp Connect ruler tool with axes preferences 2021-11-23 12:52:21 -08:00
common_control.cpp Keep track of blocking windows 2022-07-18 09:47:32 -07:00
common_tools.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
conditional_menu.cpp Change the behavior of ACTION_MENU::Add to require clones if required outside the function 2022-04-11 20:39:08 -04:00
edit_constraints.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
edit_points.cpp Use highlight algo that works for both PCBNew and Eeschema. 2021-11-01 16:08:49 +00:00
editor_conditions.cpp Fix python console toggle to work across pcbnew/eeschema 2021-07-03 22:48:46 +00:00
grid_helper.cpp Fix automatic wire tool in gridless mode 2021-02-10 22:07:49 +00:00
grid_menu.cpp On-the-fly translations for Grid and Zoom menus. 2022-02-25 22:02:51 +00:00
picker_tool.cpp Refactor PICKER_TOOL and push up snapping disable functionality 2021-01-31 09:50:41 -05:00
selection.cpp Fix calculation of selection center 2021-12-16 08:13:52 +01:00
selection_conditions.cpp Split out selection.cpp to reduce header sharing 2021-06-06 11:09:07 -04:00
selection_tool.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
tool_action.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
tool_base.cpp Push tool framework base down into TOOL_HOLDER. 2020-03-24 19:00:25 +00:00
tool_dispatcher.cpp Prevent focus stealing in some Linux WMs 2022-06-13 10:18:13 -07:00
tool_event.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
tool_interactive.cpp Beware of copying events and losing the m_passEvent flag. 2019-06-17 14:44:39 +01:00
tool_manager.cpp Catch some crashes on shutdown 2022-07-18 09:48:16 -07:00
tool_menu.cpp Turn CONDITIONAL_MENU's conditions into only show/hide conditions 2020-08-17 23:40:02 +01:00
tools_holder.cpp Update selected tool string when language changes. 2021-07-23 20:16:53 +01:00
zoom_menu.cpp On-the-fly translations for Grid and Zoom menus. 2022-02-25 22:02:51 +00:00
zoom_tool.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00