From 9e5a91b3b95c4e00660618b0d17ba1708c761839 Mon Sep 17 00:00:00 2001 From: Richard Belleville Date: Tue, 2 Jun 2020 12:04:11 -0700 Subject: [PATCH] A rare moment where I wish I had a Windows machine --- src/python/grpcio/grpc/_cython/_cygrpc/fork_windows.pyx.pxi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/grpcio/grpc/_cython/_cygrpc/fork_windows.pyx.pxi b/src/python/grpcio/grpc/_cython/_cygrpc/fork_windows.pyx.pxi index f9d41958dc7..67aaf4d033d 100644 --- a/src/python/grpcio/grpc/_cython/_cygrpc/fork_windows.pyx.pxi +++ b/src/python/grpcio/grpc/_cython/_cygrpc/fork_windows.pyx.pxi @@ -21,7 +21,7 @@ def fork_handlers_and_grpc_init(): class ForkManagedThread(object): def __init__(self, target, args=()): - self._thread = threading.Thread(target=_tun_with_context(target), args=args) + self._thread = threading.Thread(target=_run_with_context(target), args=args) def setDaemon(self, daemonic): self._thread.daemon = daemonic