Merge pull request #1303 from murgatroid99/grpc-js_timer_unref_2

grpc-js: Unref deadline filter timer optionally
This commit is contained in:
Michael Lumish 2020-03-19 14:17:12 -07:00 committed by GitHub
commit a89b8f9fcc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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?.();
}
}