Close channel once resource uploading complete

This commit is contained in:
2022-10-16 12:42:59 -07:00
parent 4efa4380c4
commit 2d0db1dcf1
3 changed files with 4 additions and 3 deletions

View File

@@ -466,6 +466,7 @@ func (fs *FS) LoadResources(ctx *server.Context, path string) error {
for evt := range progCh {
ch <- evt
}
close(ch)
}()
return nil