浏览代码

Remove Destructor for RpcCommunicator. (#2716)

- Fixes MLA-163
/develop-gpu-test
GitHub 5 年前
当前提交
64fb6904
共有 1 个文件被更改,包括 0 次插入8 次删除
  1. 8
      UnitySDK/Assets/ML-Agents/Scripts/Grpc/RpcCommunicator.cs

8
UnitySDK/Assets/ML-Agents/Scripts/Grpc/RpcCommunicator.cs


#region Destruction
/// <summary>
/// Ensure that when this object is destructed, the connection is closed.
/// </summary>
~RpcCommunicator()
{
Close();
}
/// <summary>
/// Close the communicator gracefully on both sides of the communication.
/// </summary>
public void Close()

正在加载...
取消
保存