grpc-js: Unref deadline filter timer optionally

This commit is contained in:
Michael Lumish 2020-03-16 14:31:51 -07:00
parent 2ca96a322f
commit 625610209b
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ export class DeadlineFilter extends BaseFilter implements Filter {
'Deadline exceeded'
);
}, timeout);
this.timer.unref();
this.timer.unref?.();
}
}