Skip to content

Commit f210f00

Browse files
authored
fix: ChunkedUploader Resume Not Closing ThreadPoolExecutor Instances (#840)
1 parent 4f11d75 commit f210f00

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

boxsdk/util/chunked_uploader.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ def _commit_and_erase_stream_reference_when_succeed(self):
153153
# Remove file stream reference when uploading file succeeded
154154
if commit_result is not None:
155155
self._content_stream = None
156+
self._executor.shutdown(wait=True)
156157
return commit_result
157158

158159

0 commit comments

Comments
 (0)