Clean up list of NICs on network deinit adafruit/circuitpython#1800

This commit is contained in:
Nick Moore 2019-05-07 18:20:08 +10:00
parent d97c81b0c9
commit 24934a1e8a
1 changed files with 1 additions and 0 deletions

View File

@ -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) {