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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user