bl00mbox: less aggressive plugin gc
Compare changes
@@ -26,6 +26,8 @@ typedef struct _channel_core_obj_t {
@@ -49,6 +51,8 @@ typedef struct _plugin_core_obj_t {
@@ -94,6 +98,38 @@ static void bl00mbox_error_unwrap(bl00mbox_error_t error) {
@@ -207,6 +243,12 @@ static mp_obj_t create_channel_plugin(bl00mbox_channel_t *chan) {
@@ -214,7 +256,9 @@ STATIC mp_obj_t channel_core_make_new(const mp_obj_type_t *type, size_t n_args,
@@ -234,6 +278,7 @@ STATIC mp_obj_t channel_core_make_new(const mp_obj_type_t *type, size_t n_args,
@@ -241,6 +286,7 @@ STATIC mp_obj_t mp_channel_core_make_fake(mp_obj_t self_in) {
@@ -431,6 +477,7 @@ STATIC mp_obj_t plugin_core_make_new(const mp_obj_type_t *type, size_t n_args,
@@ -443,6 +490,13 @@ STATIC mp_obj_t plugin_core_make_new(const mp_obj_type_t *type, size_t n_args,