Blender Git Loki
Git Commits -> Revision a7075a3
Revision a7075a3 by Sybren A. Stüvel (master) October 19, 2021, 13:53 (GMT) |
BKE_callback_remove: prevent crash on Blender exit `BKE_callback_remove` now checks whether the callback actually is known, before trying to remove it. `BKE_blender_atexit()` runs after `BKE_callback_global_finalize()`. When an at-exit callback tried to unregister its BKE callbacks, these would already be unregistered, causing a crash of Blender when exiting, |
Commit Details:
Full Hash: a7075a30e2611b41af672d5987af662ce5934492
Parent Commit: 219058c
Lines Changed: +6, -1
1 Modified Path:
/source/blender/blenkernel/intern/callbacks.c (+6, -1) (Diff)