Skip to content

Commit

Permalink
fix: dispose window scheduler
Browse files Browse the repository at this point in the history
  • Loading branch information
bednar committed Feb 29, 2024
1 parent 6c530eb commit bcc027a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions influxdb_client/client/write_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,8 +443,7 @@ def __del__(self):
break

if self._window_scheduler:
self._window_scheduler.executor.shutdown()
self._window_scheduler.executor = None
self._window_scheduler.executor.shutdown(wait=False)
self._window_scheduler = None

if self._disposable:
Expand Down

0 comments on commit bcc027a

Please sign in to comment.