Skip to content

Commit

Permalink
fix!: Terminating all VFS processes when cleaning up session
Browse files Browse the repository at this point in the history
Signed-off-by: Nathan Matthews <natmatn@amazon.com>
  • Loading branch information
natmatn committed Feb 21, 2024
1 parent 64b8f88 commit a7f52e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dynamic = ["version"]
dependencies = [
"requests ~= 2.31",
"boto3 >= 1.28.80",
"deadline == 0.37.*",
"deadline == 0.38.*",
"openjd-sessions == 0.5.*",
# tomli became tomllib in standard library in Python 3.11
"tomli == 2.0.* ; python_version<'3.11'",
Expand Down
2 changes: 1 addition & 1 deletion src/deadline_worker_agent/sessions/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ def _cleanup(self) -> None:
finally:
if self._asset_sync is not None and self._job_attachment_details is not None:
# terminate any running virtual file systems
self._asset_sync.cleanup_session( # type: ignore[attr-defined]
self._asset_sync.cleanup_session(
session_dir=self._session.working_directory,
file_system=self._job_attachment_details.job_attachments_file_system,
)
Expand Down

0 comments on commit a7f52e7

Please sign in to comment.