Skip to content

Commit 362993c

Browse files
increment wait group to fix panic
1 parent 70bca7e commit 362993c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/core/loader/loader.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ func InitVirtFS(v1uiFS embed.FS) {
102102
}
103103

104104
func SanityCheck(wg *sync.WaitGroup) {
105+
wg.Add(1)
105106
defer wg.Done()
106107
err := runSanityCheck()
107108
if err != nil {

0 commit comments

Comments
 (0)