File tree Expand file tree Collapse file tree 2 files changed +0
-9
lines changed Expand file tree Collapse file tree 2 files changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -215,12 +215,6 @@ async def __aenter__(self):
215
215
async def __aexit__ (self , exc_type , exc_val , exc_tb ):
216
216
await self .stop ()
217
217
218
- def __del__ (self ):
219
- if self ._should_stop .is_set () or self ._loop .is_closed ():
220
- return
221
-
222
- self ._loop .call_soon (self .stop )
223
-
224
218
225
219
class SimpleQuerySessionCheckoutAsync :
226
220
def __init__ (self , pool : QuerySessionPool ):
Original file line number Diff line number Diff line change @@ -226,9 +226,6 @@ def __enter__(self):
226
226
def __exit__ (self , exc_type , exc_val , exc_tb ):
227
227
self .stop ()
228
228
229
- def __del__ (self ):
230
- self .stop ()
231
-
232
229
233
230
class SimpleQuerySessionCheckout :
234
231
def __init__ (self , pool : QuerySessionPool , timeout : Optional [float ]):
You can’t perform that action at this time.
0 commit comments