mirror of
https://github.com/KLayout/klayout.git
synced 2026-09-02 10:57:51 +02:00
Fixed a segfault on second open
This commit is contained in:
@@ -309,6 +309,10 @@ LayoutView::~LayoutView ()
|
||||
{
|
||||
close_event ();
|
||||
|
||||
if (ms_current == this) {
|
||||
ms_current = 0;
|
||||
}
|
||||
|
||||
if (mp_control_frame) {
|
||||
delete mp_control_frame;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user