1 parent 6e74d24 commit c138b21Copy full SHA for c138b21
1 file changed
unix/modtime.c
@@ -108,9 +108,7 @@ STATIC mp_obj_t mod_time_sleep(mp_obj_t arg) {
108
if (res != -1 || errno != EINTR) {
109
break;
110
}
111
- if (MP_STATE_VM(mp_pending_exception) != MP_OBJ_NULL) {
112
- return mp_const_none;
113
- }
+ mp_handle_pending();
114
//printf("select: EINTR: %ld:%ld\n", tv.tv_sec, tv.tv_usec);
115
#else
116
0 commit comments