| author | |
| committer | |
| log | 421fbd939c450b34f310f380466cdc0d3d15133e |
| tree | 8b4be9498caa03e163de58916b2eccaa2483637d |
| parent | 8ec68c63fa1d0f7e267ff92c054e8aa335f91da4 |
| signature |
1 files changed, 2 insertions(+), 1 deletions(-)
lib/std/Thread/WaitGroup.zig+2-1| ... | @@ -63,5 +63,6 @@ pub fn spawnManager( | ... | @@ -63,5 +63,6 @@ pub fn spawnManager( |
| 63 | } | 63 | } |
| 64 | }; | 64 | }; |
| 65 | wg.start(); | 65 | wg.start(); |
| 66 | _ = std.Thread.spawn(.{}, Manager.run, .{ wg, args }) catch Manager.run(wg, args); | 66 | const t = std.Thread.spawn(.{}, Manager.run, .{ wg, args }) catch return Manager.run(wg, args); |
| 67 | t.detach(); | ||
| 67 | } | 68 | } |