PaesslerAG/gval

functions inside expression are evaluated in coroutine and on panic are not recovered thus crashing whole application

aldas opened this issue · 0 comments

aldas commented

functions inside expressions are evaluated in coroutine and on panic are not recovered thus crashing whole application. I think there should be somekind of recover as when coroutine ends with not recovered panic the whole application gets shutdown by go runtime.

go func() {

and
go func() {

note: why it is done in coroutine? from timeout or context cancellation perspective this makes little sense because if there is endless loop returning from expression that "timeouted" makes little difference because that endless coroutine still works on background.