diff --git a/source/blender/python/intern/bpy_rna.cc b/source/blender/python/intern/bpy_rna.cc index 8d6ce0a0e99..30521e34d25 100644 --- a/source/blender/python/intern/bpy_rna.cc +++ b/source/blender/python/intern/bpy_rna.cc @@ -9668,15 +9668,15 @@ static void bpy_class_free(void *pyob_ptr) { #ifdef WITH_PYTHON_MODULE /* This can happen when Python has exited before all Blender's RNA types have been freed. - * In this Python memory management can't run. see: #125376. + * In this Python memory management can't run. * * NOTE(@ideasman42): While I wasn't able to redo locally, it resolves the problem. - * Apparently this happens with AUDASPACE on macOS. Ideally this would be resolved + * This happens: + * - With AUDASPACE on macOS, see: #125376. + * - With the build-bot on Linux, see: #135195. + * Ideally this would be resolved * by correcting the order classes are freed (before Python exits). */ if (!Py_IsInitialized()) { -# if !(defined(__APPLE__) || defined(_WIN32)) - BLI_assert_msg(false, "This should never happen, please report a bug!"); -# endif return; } #endif