diff --git a/src/ansys/mapdl/core/mapdl_grpc.py b/src/ansys/mapdl/core/mapdl_grpc.py index 38cc36481c..a0b2cecc66 100644 --- a/src/ansys/mapdl/core/mapdl_grpc.py +++ b/src/ansys/mapdl/core/mapdl_grpc.py @@ -1236,15 +1236,12 @@ def _exit_mapdl_server(self): if self._version is None or self._version < 24.1: self._ctrl("EXIT") - elif self._version >= 25.1: + elif self._version >= 24.1: # We can't use the non-cached version because of recursion error. # self.run("/EXIT,NOSAVE,,,,,SERVER") self.finish() self._ctrl("EXIT") - elif self._version >= 24.1: - self._ctrl("EXIT") - return def _kill_process(self):