dont over-ambitiously respond to exceptions/errors on kill/detach

This commit is contained in:
Ryan Fleury
2024-03-29 10:22:06 -07:00
parent 7c3fabfc39
commit 7496f3b8cc
+2 -6
View File
@@ -2368,9 +2368,7 @@ ctrl_thread__kill(DMN_CtrlCtx *ctrl_ctx, CTRL_Msg *msg)
{
done = 1;
}
if(event->kind == DMN_EventKind_Halt ||
event->kind == DMN_EventKind_Exception ||
event->kind == DMN_EventKind_Error)
if(event->kind == DMN_EventKind_Halt)
{
done = 1;
}
@@ -2423,9 +2421,7 @@ ctrl_thread__detach(DMN_CtrlCtx *ctrl_ctx, CTRL_Msg *msg)
{
done = 1;
}
if(event->kind == DMN_EventKind_Halt ||
event->kind == DMN_EventKind_Exception ||
event->kind == DMN_EventKind_Error)
if(event->kind == DMN_EventKind_Halt)
{
done = 1;
}