mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-17 09:39:19 +00:00
Ensure python global shutdown after context has closed
This commit is contained in:
2 files changed
+5
-2
No files matched your search
@@ -467,6 +467,9 @@ void PythonContext::Finish()
|
||||
|
||||
void PythonContext::GlobalShutdown()
|
||||
{
|
||||
if(!initialised())
|
||||
return;
|
||||
|
||||
// must happen on the UI thread
|
||||
if(qApp->thread() != QThread::currentThread())
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user