diff options
| author | Jim Mussared <jim.mussared@gmail.com> | 2022-06-29 13:56:12 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2022-06-30 11:53:25 +1000 |
| commit | 797a83ac3ef8f9bbf67faf59da665b5509db428b (patch) | |
| tree | cba8de79cbd07e304d6bbe0804ff6fe7c0625749 /py/objobject.c | |
| parent | b004e7e397577d95404fd31aec68a5c54904a48c (diff) | |
rp2/mpthreadport: Ensure core1 doesn't hold gc lock in deinit.
Prior to this commit the following code would lock up the device when
Ctrl-D is entered at the REPL:
import gc, _thread
def collect_thread():
while True:
gc.collect()
_thread.start_new_thread(collect_thread, [])
Fixes part of #8494.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
Diffstat (limited to 'py/objobject.c')
0 files changed, 0 insertions, 0 deletions
