commit | ff71fcd3d2a72797cd46a91ca32346c57c852e3f | [log] [tgz] |
---|---|---|
author | Gavin Howard <yzena.tech@gmail.com> | Sat Mar 17 14:37:32 2018 -0600 |
committer | Gavin Howard <yzena.tech@gmail.com> | Tue Aug 28 17:11:06 2018 -0600 |
tree | 4af35288fd56e3028bfdb87ba927330c30a34d21 | |
parent | 859e290cf91ada6235879eddc5daf997c1924ad7 [diff] |
Make sure to quit execution on signal
diff --git a/src/bc/program.c b/src/bc/program.c index e8138c8..9ae27a5 100644 --- a/src/bc/program.c +++ b/src/bc/program.c
@@ -1642,7 +1642,7 @@ code = func->code.array; cond = false; - while (ip->idx < func->code.len) { + while (!bcg.bc_signal && ip->idx < func->code.len) { uint8_t inst;