diff options
author | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2019-02-26 14:27:43 +0000 |
---|---|---|
committer | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2019-02-27 10:57:55 +0000 |
commit | d55039c33685d267fd8834ecc5d16030c1385325 (patch) | |
tree | 4e9b7af191965aa9c4e16cc6b0a54f043300fb45 /CONTRIBUTING.rst | |
parent | 5a1a5814e77152bf2195f917147d5dc46f7201d7 (diff) | |
download | buildstream-d55039c33685d267fd8834ecc5d16030c1385325.tar.gz |
utils.py: Add a _with_gc_disabled() decorator
This decorator can be used to wrapper any function to disable the GC
for the duration of the function. At the end it will be re-enabled.
This is not recursive, so only use this decorator sparingly and with
care.
Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
Diffstat (limited to 'CONTRIBUTING.rst')
0 files changed, 0 insertions, 0 deletions