From f35c9419d2d2087e9703256a030b382ef17c6c21 Mon Sep 17 00:00:00 2001 From: Chris Boesch Date: Sat, 18 Apr 2026 19:50:49 +0000 Subject: [PATCH] Merge pull request 'fix: mutex unlock call in async example' (#407) from gabelluardo/ziglings:fix-async91 into main Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/407 --- exercises/091_async7.zig | 2 +- 1 file(s) changed, 1 insertion(s)(+), 1 deletion(s)(-) diff --git a/exercises/091_async7.zig b/exercises/091_async7.zig --- a/exercises/091_async7.zig +++ b/exercises/091_async7.zig @@ -6,7 +6,7 @@ // // // In a task: // try mutex.lock(io); // blocks until lock is acquired -// defer mutex.unlock(); +// defer mutex.unlock(io); // // ... critical section: safe to modify shared data ... // // Without the mutex, concurrent tasks could read and write the -- tangled.sh