Skip to content

Commit 80b42d6

Browse files
committed
Remove TODO from val::awaiter::reject_with.
I'll not terminate here so non-C++ exceptions still propagate to `await_resume`
1 parent c6c44e2 commit 80b42d6

File tree

1 file changed

+0
-1
lines changed
  • system/include/emscripten

1 file changed

+0
-1
lines changed

system/include/emscripten/val.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -806,7 +806,6 @@ inline void val::awaiter::reject_with(val&& error) {
806806
coro.handle.destroy();
807807
return;
808808
}
809-
//TODO Else terminate immediately?
810809
#endif
811810

812811
state.emplace<state_error>(std::move(error));

0 commit comments

Comments
 (0)