mirror of https://github.com/KLayout/klayout.git
Fixed a potential crash on application exit that was discovered during debugging
This commit is contained in:
parent
292f6f84c6
commit
31ddbe24fa
|
|
@ -475,6 +475,12 @@ LayoutViewBase::shutdown ()
|
|||
}
|
||||
}
|
||||
|
||||
// NOTE: this must happen before the services are deleted
|
||||
mp_move_service = 0;
|
||||
mp_selection_service = 0;
|
||||
mp_tracker = 0;
|
||||
mp_zoom_service = 0;
|
||||
|
||||
// delete all plugins
|
||||
std::vector<lay::Plugin *> plugins;
|
||||
plugins.swap (mp_plugins);
|
||||
|
|
|
|||
Loading…
Reference in New Issue