Skip to content

Commit 440d191

Browse files
committed
[update] lib/utils/pyexec.c
1 parent 604659d commit 440d191

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/utils/pyexec.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,8 @@ int pyexec_friendly_repl(void) {
482482
} else if (ret == CHAR_CTRL_D) {
483483
// exit for a soft reset
484484
mp_hal_stdout_tx_str("\r\n");
485-
vstr_clear(&line);
485+
// TODO it will occur assert on RT-Thread platform, so comment it
486+
// vstr_clear(&line);
486487
return PYEXEC_FORCED_EXIT;
487488
} else if (ret == CHAR_CTRL_E) {
488489
// paste mode

0 commit comments

Comments
 (0)