diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-10-16 08:34:29 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-10-16 08:34:29 +0300 |
commit | fa566157a5c351775d082b05b180c630665b4afc (patch) | |
tree | 804614780a675eefff3c4ebfcb6db60446fb33be /build_files | |
parent | f40294b2d68ba126bbdd3d39ce54148dd6f5bf9a (diff) |
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
Diffstat (limited to 'build_files')
0 files changed, 0 insertions, 0 deletions