Add static boolean to track whether the callbacks system has been initialised. This makes it possible to make the `BKE_callback_remove()` function more noisy in case of programming errors, and avoids accessing `funcstore->alloc` when `funcstore` was potentially already freed. Thanks @campbellbarton for pointing this out.
3.8 KiB
3.8 KiB