Open Pismice opened 1 month ago
iiuc await
is only used when the coroutine is completed but you still have suspension points. adding 2 calls to libcoro.xresume(frame);
before the call to xawait
makes the test case pass with the same being the case using zigs async in 0.10.1. im still quite unfamiliar with zigcoro as well as async in general so someone please correct me if im wrong
When running this basic code I get a segmentation fault on the line where I
xawait
.This is the code:
This is the backtrace:
Any idea why this could happen ?