summaryrefslogtreecommitdiff
path: root/py/modthread.c
diff options
context:
space:
mode:
authorDaniël van de Giessen <daniel@dvdgiessen.nl>2023-08-15 11:34:23 +0200
committerDamien George <damien@micropython.org>2023-09-02 18:01:03 +1000
commitc0d4c604e6a140c0f2967e1b43fd94d0b029c73f (patch)
treef0a7cc4a30245d2be571737e9cfcc655d3847b62 /py/modthread.c
parent6bd1404225a53bd85b75480146f6fbd1fd438ab9 (diff)
esp32/network_ppp: Block after deleting task.
When calling ppp.active(False) we could get a crash due to immediately returning after asking FreeRTOS to delete the current task. This commit adds a simple blocking loop, the same as used in all other places where we call vTaskDelete(NULL). Signed-off-by: Daniël van de Giessen <daniel@dvdgiessen.nl>
Diffstat (limited to 'py/modthread.c')
0 files changed, 0 insertions, 0 deletions