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 @@ -213,12 +213,6 @@ async def __aenter__(self):
213213 async def __aexit__ (self , exc_type , exc_val , exc_tb ):
214214 await self .stop ()
215215
216- def __del__ (self ):
217- if self ._should_stop .is_set () or self ._loop .is_closed ():
218- return
219-
220- self ._loop .call_soon (self .stop )
221-
222216
223217class SimpleQuerySessionCheckoutAsync :
224218 def __init__ (self , pool : QuerySessionPool ):
Original file line number Diff line number Diff line change @@ -224,9 +224,6 @@ def __enter__(self):
224224 def __exit__ (self , exc_type , exc_val , exc_tb ):
225225 self .stop ()
226226
227- def __del__ (self ):
228- self .stop ()
229-
230227
231228class SimpleQuerySessionCheckout :
232229 def __init__ (self , pool : QuerySessionPool , timeout : Optional [float ]):
You can’t perform that action at this time.
0 commit comments