mirror of
https://github.com/m-labs/artiq.git
synced 2025-01-08 18:13:34 +08:00
runtime: save now when terminating with exception
This commit is contained in:
parent
e069ce9dd8
commit
5f8b02a1d2
@ -423,6 +423,8 @@ void __artiq_terminate(struct artiq_exception *artiq_exn,
|
|||||||
{
|
{
|
||||||
struct msg_exception msg;
|
struct msg_exception msg;
|
||||||
|
|
||||||
|
now_save();
|
||||||
|
|
||||||
msg.type = MESSAGE_TYPE_EXCEPTION;
|
msg.type = MESSAGE_TYPE_EXCEPTION;
|
||||||
msg.exception = artiq_exn;
|
msg.exception = artiq_exn;
|
||||||
msg.backtrace = backtrace;
|
msg.backtrace = backtrace;
|
||||||
|
Loading…
Reference in New Issue
Block a user