Skip to content

Commit

Permalink
Fix del apps
Browse files Browse the repository at this point in the history
  • Loading branch information
kanewi11 committed Dec 6, 2022
1 parent d4b95bc commit 70bb7e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions reactionbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ async def main():
app = Client(workdir=WORK_DIR.__str__(), **config_dict)
app.add_handler(message_handler)
await app.start()

except Exception:
error.warning(traceback.format_exc())
else:
Expand Down Expand Up @@ -294,6 +295,7 @@ async def main():
await app.stop()
except ConnectionError:
pass
apps[:] = []


def start():
Expand Down

0 comments on commit 70bb7e9

Please sign in to comment.