Skip to content

Commit

Permalink
fix: ChunkedUploader Resume Not Closing ThreadPoolExecutor Instances (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mhagmajer authored Sep 4, 2023
1 parent 4f11d75 commit f210f00
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions boxsdk/util/chunked_uploader.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ def _commit_and_erase_stream_reference_when_succeed(self):
# Remove file stream reference when uploading file succeeded
if commit_result is not None:
self._content_stream = None
self._executor.shutdown(wait=True)
return commit_result


Expand Down

0 comments on commit f210f00

Please sign in to comment.