Skip to content

Close census connection in extract_czi_markers#8

Open
LiudengZhang wants to merge 1 commit intoGenentech:mainfrom
LiudengZhang:fix/census-resource-leak
Open

Close census connection in extract_czi_markers#8
LiudengZhang wants to merge 1 commit intoGenentech:mainfrom
LiudengZhang:fix/census-resource-leak

Conversation

@LiudengZhang
Copy link

Description

cellxgene_census.open_soma() in extract_czi_markers was never closed, leaking the SOMA connection. This wraps the census usage in try/finally to ensure census.close() is always called, matching the pattern already used in download_czi_reference in the same file.

cellxgene_census.open_soma() was never closed in extract_czi_markers,
leaking the SOMA connection. Wrap the census usage in try/finally to
ensure census.close() is always called, matching the pattern already
used in download_czi_reference.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant