Skip to content

Commit cc3bfe1

Browse files
authored
Merge pull request #244 remove cancel_futures from call stop_executor
2 parents 2ea6b59 + cd6cb01 commit cc3bfe1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ydb/topic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def close(self):
208208
return
209209

210210
self._closed = True
211-
self._executor.shutdown(wait=False, cancel_futures=True)
211+
self._executor.shutdown(wait=False)
212212

213213
def _check_closed(self):
214214
if not self._closed:
@@ -366,7 +366,7 @@ def close(self):
366366
return
367367

368368
self._closed = True
369-
self._executor.shutdown(wait=False, cancel_futures=True)
369+
self._executor.shutdown(wait=False)
370370

371371
def _check_closed(self):
372372
if not self._closed:

0 commit comments

Comments
 (0)