mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 01:20:42 +00:00
Ensure python global shutdown after context has closed
This commit is contained in:
@@ -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