mirror of
https://github.com/KLayout/klayout.git
synced 2026-09-03 16:30:20 +02:00
Merge pull request #1547 from KLayout/issue-1542
Issue 1542 - crash on exit
This commit is contained in:
+2
-2
@@ -390,6 +390,8 @@ PythonInterpreter::~PythonInterpreter ()
|
||||
m_stdout = PythonPtr ();
|
||||
m_stderr = PythonPtr ();
|
||||
|
||||
sp_interpreter = 0;
|
||||
|
||||
if (m_embedded) {
|
||||
|
||||
Py_Finalize ();
|
||||
@@ -400,8 +402,6 @@ PythonInterpreter::~PythonInterpreter ()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
sp_interpreter = 0;
|
||||
}
|
||||
|
||||
char *
|
||||
|
||||
Reference in New Issue
Block a user