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):
215215 async def __aexit__ (self , exc_type , exc_val , exc_tb ):
216216 await self .stop ()
217217
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-
224218
225219class SimpleQuerySessionCheckoutAsync :
226220 def __init__ (self , pool : QuerySessionPool ):
Original file line number Diff line number Diff line change @@ -226,9 +226,6 @@ def __enter__(self):
226226 def __exit__ (self , exc_type , exc_val , exc_tb ):
227227 self .stop ()
228228
229- def __del__ (self ):
230- self .stop ()
231-
232229
233230class SimpleQuerySessionCheckout :
234231 def __init__ (self , pool : QuerySessionPool , timeout : Optional [float ]):
You can’t perform that action at this time.
0 commit comments