Blender Git Loki

Git Commits -> Revision 7e39e0a

October 28, 2020, 08:16 (GMT)
PyAPI: unregister add-ons when exiting

This lets add-on authors avoid false positive leaks when exiting.
In particular GPUShaders's although it applies to any PyObject that
stores memory allocated by guarded-alloc.

While this does add overhead on exit, on my system it's
under 1/100th of a second with all addons enabled.

See: T71362

Commit Details:

Full Hash: 7e39e0a9f62b13e0b3a91df4cf9477a4eaef3dd9
Parent Commit: 89b5c9d
Committed By: Jeroen Bakker
Lines Changed: +8, -0

1 Modified Path:

/source/blender/windowmanager/intern/wm_init_exit.c (+8, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021