Skip to content

Commit 561ac20

Browse files
committed
Use call_later for close
1 parent a903f55 commit 561ac20

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

core/thread.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ def __init__(self, manager, recipient):
2323
self.recipient = recipient
2424
self.channel = None
2525
self.ready_event = asyncio.Event()
26-
self.close_task = None
27-
self.close_after = 0 # seconds
2826

2927
def __repr__(self):
3028
return f'Thread(recipient="{self.recipient}", channel={self.channel.id})'

0 commit comments

Comments
 (0)