Commit fa50047b authored by Damien George's avatar Damien George

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).
parent 7cd59c5b
......@@ -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));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment