mirror of
https://github.com/samuelncui/acp.git
synced 2026-01-03 10:05:16 +00:00
fix: linear
This commit is contained in:
@@ -45,9 +45,9 @@ func (c *Copyer) prepare(ctx context.Context, indexed <-chan *baseJob) <-chan *w
|
||||
return
|
||||
}
|
||||
|
||||
wj := &writeJob{baseJob: job, src: file, ch: make(chan struct{})}
|
||||
wj := newWriteJob(job, file, c.fromDevice.linear)
|
||||
ch <- wj
|
||||
<-wj.ch
|
||||
wj.wait()
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user