Skip to content

Commit

Permalink
Merge pull request #1001 from Unity-Technologies/hotfix-grpc-multipro…
Browse files Browse the repository at this point in the history
…cessing

[Hotfix] Made the Pipe of the grpc communicator an instance property
  • Loading branch information
awjuliani authored Jul 24, 2018
2 parents 2b699d6 + a1a7245 commit 9b478c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/unityagents/rpc_communicator.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@


class UnityToExternalServicerImplementation(UnityToExternalServicer):
parent_conn, child_conn = Pipe()
def __init__(self):
self.parent_conn, self.child_conn = Pipe()

def Initialize(self, request, context):
self.child_conn.send(request)
Expand Down

0 comments on commit 9b478c6

Please sign in to comment.