mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Don't set Py_TPFLAGS_HAVE_FINALIZE when we don't implement tp_finalize
This commit is contained in:
@@ -252,7 +252,7 @@ void PythonContext::GlobalInit()
|
||||
|
||||
OutputRedirectorType.tp_name = "renderdoc_output_redirector";
|
||||
OutputRedirectorType.tp_basicsize = sizeof(OutputRedirector);
|
||||
OutputRedirectorType.tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_FINALIZE;
|
||||
OutputRedirectorType.tp_flags = Py_TPFLAGS_DEFAULT;
|
||||
OutputRedirectorType.tp_doc =
|
||||
"Output redirector, to be able to catch output to stdout and stderr";
|
||||
OutputRedirectorType.tp_new = PyType_GenericNew;
|
||||
|
||||
Reference in New Issue
Block a user