summaryrefslogtreecommitdiff
path: root/shared-module/network/__init__.c
diff options
context:
space:
mode:
Diffstat (limited to 'shared-module/network/__init__.c')
-rw-r--r--shared-module/network/__init__.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shared-module/network/__init__.c b/shared-module/network/__init__.c
index a674e8478..c5783758d 100644
--- a/shared-module/network/__init__.c
+++ b/shared-module/network/__init__.c
@@ -43,6 +43,7 @@ void network_module_init(void) {
}
void network_module_deinit(void) {
+ mp_obj_list_set_len(&MP_STATE_PORT(mod_network_nic_list), 0);
}
void network_module_background(void) {