Skip to content

Commit

Permalink
Set self.live=False before starting initialization of a grpc server (#…
Browse files Browse the repository at this point in the history
…1405)

Signed-off-by: paul.profizi <paul.profizi@ansys.com>
  • Loading branch information
PProfizi authored Feb 7, 2024
1 parent f0b3670 commit 1ad563d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ansys/dpf/core/server_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -683,6 +683,7 @@ def __init__(
# Load DPFClientAPI
from ansys.dpf.core.misc import is_pypim_configured

self.live = False
super().__init__(ansys_path=ansys_path, load_operators=load_operators)
# Load Ans.Dpf.GrpcClient
self._grpc_client_path = load_api.load_grpc_client(ansys_path=ansys_path)
Expand Down Expand Up @@ -1017,11 +1018,11 @@ def __init__(
# Use ansys.grpc.dpf
from ansys.dpf.core.misc import is_pypim_configured

self.live = False
super().__init__()

self._info_instance = None
self._own_process = launch_server
self.live = False
self._local_server = False
self._stubs = {}
self.channel = None
Expand Down

0 comments on commit 1ad563d

Please sign in to comment.