py/runtime: Unlock the GIL in mp_deinit function.
This mirrors what is done in mp_init. Some RTOSs require this symmetry to get back to a clean state (when doing a soft reset, for example).
This commit is contained in:
parent
7cd59c5bc3
commit
fa50047bbc
|
@ -129,6 +129,8 @@ void mp_init(void) {
|
|||
}
|
||||
|
||||
void mp_deinit(void) {
|
||||
MP_THREAD_GIL_EXIT();
|
||||
|
||||
//mp_obj_dict_free(&dict_main);
|
||||
//mp_map_deinit(&MP_STATE_VM(mp_loaded_modules_map));
|
||||
|
||||
|
|
Loading…
Reference in New Issue