Skip to content

Commit

Permalink
yui.bot.Bot 생성시 event loop 설정에 손대지 않도록 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
item4 committed Mar 4, 2025
1 parent 1b6723c commit 84e94dc
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions yui/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,6 @@ def __init__(
self._import_app(app_name)

self.config = config

with contextlib.suppress(RuntimeError):
loop = asyncio.get_running_loop()
loop.set_debug(self.config.DEBUG)

self.orm_base = orm_base or Base
self.box = using_box or box
self.queue: asyncio.Queue = asyncio.Queue()
Expand Down

0 comments on commit 84e94dc

Please sign in to comment.