Skip to content

Commit 2bbf338

Browse files
author
Roberto De Ioris
committed
fixed win32 build
1 parent 5298b9f commit 2bbf338

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎Source/UnrealEnginePython/Private/UnrealEnginePython.cpp‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,6 @@ void FUnrealEnginePythonModule::ShutdownModule()
408408

409409
void FUnrealEnginePythonModule::RunString(char *str)
410410
{
411-
MainThreadCall(^{
412411
FScopePythonGIL gil;
413412

414413
PyObject *eval_ret = PyRun_String(str, Py_file_input, (PyObject *)main_dict, (PyObject *)local_dict);
@@ -418,7 +417,6 @@ void FUnrealEnginePythonModule::RunString(char *str)
418417
return;
419418
}
420419
Py_DECREF(eval_ret);
421-
});
422420
}
423421

424422
#if PLATFORM_MAC

0 commit comments

Comments
 (0)