mirror of https://github.com/grpc/grpc-node.git
Merge pull request #1303 from murgatroid99/grpc-js_timer_unref_2
grpc-js: Unref deadline filter timer optionally
This commit is contained in:
commit
a89b8f9fcc
|
@ -66,7 +66,7 @@ export class DeadlineFilter extends BaseFilter implements Filter {
|
|||
'Deadline exceeded'
|
||||
);
|
||||
}, timeout);
|
||||
this.timer.unref();
|
||||
this.timer.unref?.();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue