Skip to content

Commit

Permalink
FIX: added check in desktop_release (#4952)
Browse files Browse the repository at this point in the history
Co-authored-by: maxcapodi78 <Shark78>
  • Loading branch information
maxcapodi78 authored Jul 25, 2024
1 parent 2866a99 commit 139bd47
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyaedt/desktop.py
Original file line number Diff line number Diff line change
Expand Up @@ -1580,7 +1580,8 @@ def release_desktop(self, close_projects=True, close_on_exit=True):
>>> desktop.release_desktop(close_projects=False, close_on_exit=False) # doctest: +SKIP
"""
self.grpc_plugin.recreate_application(True)
if self.is_grpc_api:
self.grpc_plugin.recreate_application(True)
self.logger.oproject = None
self.logger.odesign = None
if os.getenv("PYAEDT_DOC_GENERATION", "False").lower() in ("true", "1", "t"): # pragma: no cover
Expand Down

0 comments on commit 139bd47

Please sign in to comment.