Fix BKE_blender_atexit_unregister error removing from linked list
This is an old bug exposed by having multiple atexit calls since
c65c4149c9
.
This commit is contained in:
parent
27426c05b1
commit
f35a38fba7
Notes:
blender-bot
2023-02-14 05:50:03 +01:00
Referenced by issue #83216, Potential candidates for corrective releases Referenced by issue #82675, "ImportError: sys.meta_path is None, Python is likely shutting down" on exit when built as a Python module
|
@ -417,7 +417,7 @@ void BKE_blender_atexit_unregister(void (*func)(void *user_data), const void *us
|
|||
free(ae);
|
||||
return;
|
||||
}
|
||||
ae_p = &ae;
|
||||
ae_p = &ae->next;
|
||||
ae = ae->next;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue