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.
Line 16 in 12d4df2
and
Line 39 in 12d4df2
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.