summaryrefslogtreecommitdiff
path: root/py
diff options
context:
space:
mode:
Diffstat (limited to 'py')
-rw-r--r--py/runtime.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/py/runtime.c b/py/runtime.c
index e512b8b0d..c1e047813 100644
--- a/py/runtime.c
+++ b/py/runtime.c
@@ -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));