From 1e38a6d606f982a85f71725bb10ae7ccfe494f25 Mon Sep 17 00:00:00 2001 From: wmayer Date: Sat, 3 Nov 2012 15:36:58 +0100 Subject: [PATCH] 0000863: segfault in ~PythonDebuggerP() --- src/Gui/PythonDebugger.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Gui/PythonDebugger.cpp b/src/Gui/PythonDebugger.cpp index f72bfcf19..fc7b432c8 100644 --- a/src/Gui/PythonDebugger.cpp +++ b/src/Gui/PythonDebugger.cpp @@ -360,6 +360,7 @@ struct PythonDebuggerP { } ~PythonDebuggerP() { + Base::PyGILStateLocker lock; Py_DECREF(out_n); Py_DECREF(err_n); Py_DECREF(exc_n);