Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@blender.org>2021-10-19 16:48:12 +0300
committerSybren A. Stüvel <sybren@blender.org>2021-10-19 16:53:11 +0300
commita7075a30e2611b41af672d5987af662ce5934492 (patch)
tree0b65e09649b5cdb6e75f32a66617ee409279c5eb /source/blender/nodes/NOD_static_types.h
parent219058c213d5c9efce3f44216f6513edc93b5536 (diff)
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,
Diffstat (limited to 'source/blender/nodes/NOD_static_types.h')
0 files changed, 0 insertions, 0 deletions