Skip to content

HTTP client session is not properly closed #244

@jchristgit

Description

@jchristgit
bot/__main__.py:89: RuntimeWarning: coroutine 'ClientSession.close' was never awaited
  bot.http_session.close()  # Close the aiohttp session when the bot finishes running

aiohttp will warn in __del__ if the session was not closed, we need to find a way to clean this up properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: backendRelated to internal functionality and utilities (error_handler, logging, security, utils and core)p: 3 - lowLow Prioritys: staleHas had no activity for a whilet: bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions