mirror of
https://github.com/denoland/deno.git
synced 2024-11-25 15:29:32 -05:00
format
This commit is contained in:
parent
d534ea41ad
commit
d0b859ec37
2 changed files with 2 additions and 2 deletions
|
@ -41,4 +41,4 @@ testPerm({ write: true }, async function metricsUpdatedIfNoResponseAsync() {
|
|||
|
||||
const metrics = deno.metrics();
|
||||
assert(metrics.opsDispatched === metrics.opsCompleted);
|
||||
});
|
||||
});
|
||||
|
|
|
@ -172,7 +172,7 @@ impl Isolate {
|
|||
|
||||
pub fn respond(&mut self, req_id: i32, buf: Buf) {
|
||||
self.state.metrics_op_completed(buf.len() as u64);
|
||||
|
||||
|
||||
// TODO(zero-copy) Use Buf::leak(buf) to leak the heap allocated buf. And
|
||||
// don't do the memcpy in ImportBuf() (in libdeno/binding.cc)
|
||||
unsafe {
|
||||
|
|
Loading…
Reference in a new issue