diff options
| author | Jeff Epler <jepler@gmail.com> | 2020-07-17 08:36:26 -0500 |
|---|---|---|
| committer | Jeff Epler <jepler@gmail.com> | 2020-07-17 08:36:26 -0500 |
| commit | a18a39210919a886d4efb4c52b85a309b3403abf (patch) | |
| tree | ad7b820c503bab7fafadfa00db1e89100a4ab2c6 /shared-bindings/framebufferio/FramebufferDisplay.c | |
| parent | 81105cb9ef68c4d88eab206f111af448440c8f30 (diff) | |
background_callback: Add gc collect callback
A background callback must never outlive its related object. By
collecting the head of the linked list of background tasks, this will
not happen.
One hypothetical case where this could happen is if an MP3Decoder is
deleted while its callback to fill its buffer is scheduled.
Diffstat (limited to 'shared-bindings/framebufferio/FramebufferDisplay.c')
0 files changed, 0 insertions, 0 deletions
