mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 01:20:42 +00:00
Turn off tracing after execution finishes
* This means the tracing isn't still lingering around when we shutdown and the context is destroyed.
This commit is contained in:
@@ -518,6 +518,8 @@ void PythonContext::executeString(const QString &filename, const QString &source
|
||||
// catch any output
|
||||
outputTick();
|
||||
|
||||
PyEval_SetTrace(NULL, NULL);
|
||||
|
||||
Py_XDECREF(thisobj);
|
||||
Py_XDECREF(traceContext);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user