summaryrefslogtreecommitdiff
path: root/py/obj.c
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2020-08-30 14:39:03 -0400
committerDan Halbert <halbert@halwitz.org>2020-08-30 14:39:03 -0400
commit6dbd369272c4bedea4e00c1dca80d0b3ee2d6781 (patch)
tree44707cefb3dd7535492987671a75ad281d84824a /py/obj.c
parent767f3d0feb1e145efc2def5048e91d910bbe2f9a (diff)
parent0adccc50dcc9e9db9a054da563fe4f165e8d912e (diff)
merge from upstream
Diffstat (limited to 'py/obj.c')
-rw-r--r--py/obj.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/py/obj.c b/py/obj.c
index 0cff2f1a4..9dc0cf474 100644
--- a/py/obj.c
+++ b/py/obj.c
@@ -67,6 +67,8 @@ void mp_obj_print_helper(const mp_print_t *print, mp_obj_t o_in, mp_print_kind_t
#ifdef RUN_BACKGROUND_TASKS
RUN_BACKGROUND_TASKS;
#endif
+ mp_handle_pending();
+
#ifndef NDEBUG
if (o_in == MP_OBJ_NULL) {
mp_print_str(print, "(nil)");