mirror of https://github.com/KLayout/klayout.git
Fixed a segfault on second open
This commit is contained in:
parent
fbc31fd854
commit
f57f1cc228
|
|
@ -309,6 +309,10 @@ LayoutView::~LayoutView ()
|
|||
{
|
||||
close_event ();
|
||||
|
||||
if (ms_current == this) {
|
||||
ms_current = 0;
|
||||
}
|
||||
|
||||
if (mp_control_frame) {
|
||||
delete mp_control_frame;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue