Skip to content

Release v6.1#181

Merged
praiskup merged 1 commit intomainfrom
praiskup-fix-counters
Mar 9, 2026
Merged

Release v6.1#181
praiskup merged 1 commit intomainfrom
praiskup-fix-counters

Conversation

@praiskup
Copy link
Owner

@praiskup praiskup commented Mar 9, 2026

Deallocate named counters if resource fails to allocate.

Deallocate named counters if resource fails to allocate.
@praiskup praiskup merged commit 7ed4be7 into main Mar 9, 2026
3 checks passed
session.delete(resource.id_in_pool_object)

for counter in resource.named_counters:
session.delete(counter)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do the same thing here

if resource.id_in_pool_object:
session.delete(resource.id_in_pool_object)
for counter in resource.named_counters:
session.delete(counter)

so I guess +1

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.

2 participants