Skip to content

Commit

Permalink
None check
Browse files Browse the repository at this point in the history
  • Loading branch information
vasinov committed Aug 19, 2024
1 parent 3da772e commit d962d1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion griptape/mixins/futures_executor_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class FuturesExecutorMixin(ABC):
def __del__(self) -> None:
executor = self.futures_executor

if executor:
if executor is not None:
self.futures_executor = None

executor.shutdown(wait=True)

0 comments on commit d962d1d

Please sign in to comment.