1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

gc: extend optimized mode to channel buffers (#10443)

This commit is contained in:
Uwe Krüger
2021-06-14 17:12:47 +02:00
committed by GitHub
parent e5debbbe01
commit a8437584aa
5 changed files with 53 additions and 11 deletions

View File

@@ -26,9 +26,9 @@ mut:
}
pub fn new_waitgroup() &WaitGroup {
mut wg := &WaitGroup{}
mut wg := WaitGroup{}
wg.init()
return wg
return &wg
}
pub fn (mut wg WaitGroup) init() {