Skip to content

Commit

Permalink
Merge pull request #421 from Geod24/mlang/TestNothrow
Browse files Browse the repository at this point in the history
fix: Make an argument to runWorkerTask nothrow
  • Loading branch information
s-ludwig authored Jan 2, 2025
2 parents dcb5659 + ced2579 commit 6dce0cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/issue-58-task-already-scheduled.d
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ void main()
assert(atomicLoad(counter) == ntasks, "Event loop exited prematurely.");
}

void worker()
void worker() nothrow
{
ev.wait(0);
ev.emit();
Expand Down

0 comments on commit 6dce0cb

Please sign in to comment.