Skip to content

Commit

Permalink
fix: client session unclosed correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
nullswan committed Sep 9, 2022
1 parent bf5e18b commit 9fddeae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion graphinder/pool/detectors.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ async def is_gql_endpoint(

status = await detector.detect()

if headers and has_opened_new_session:
if has_opened_new_session:
await session.close()

return status
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "graphinder"
version = "1.11.1"
version = "1.11.2"
description = "Escape Graphinder"
authors = ["Escape Technologies SAS <ping@escape.tech>"]
maintainers = [
Expand Down

0 comments on commit 9fddeae

Please sign in to comment.