Chez Scheme: fix error escape during fasl read with W^X
Go back to execution mode when fasl-read escapes with an error.
This commit is contained in:
parent
0e08807d3f
commit
ef0b97c65e
|
@ -391,6 +391,9 @@ static void do_error(type, who, s, args) iptr type; const char *who, *s; ptr arg
|
|||
S_mutex_release(&S_tc_mutex);
|
||||
#endif /* PTHREADS */
|
||||
|
||||
/* in case error is during fasl read: */
|
||||
S_thread_end_code_write();
|
||||
|
||||
TRAP(tc) = (ptr)1;
|
||||
AC0(tc) = (ptr)1;
|
||||
CP(tc) = S_symbol_value(S_G.error_id);
|
||||
|
|
Loading…
Reference in New Issue
Block a user