mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-19 22:11:01 +01:00
This commit is contained in:
1 parent
c1eda83167
commit
eced35ecef
1 file changed
+4
-1
+4
-1
@@ -140,7 +140,10 @@ impl StagingBelt {
|
||||
.buffer
|
||||
.slice(..)
|
||||
.map_async(MapMode::Write)
|
||||
.inspect(move |_| sender.send(chunk).unwrap())
|
||||
.inspect(move |_| {
|
||||
// The only possible error is the other side disconnecting, which is fine
|
||||
let _ = sender.send(chunk);
|
||||
})
|
||||
}))
|
||||
.map(|_| ())
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user