Skip to content

Fix operation directive finalizer registration - #5673

Merged
rmosolgo merged 1 commit into
rmosolgo:masterfrom
ydah:fix-operation-directive-finalizer
Jul 21, 2026
Merged

Fix operation directive finalizer registration#5673
rmosolgo merged 1 commit into
rmosolgo:masterfrom
ydah:fix-operation-directive-finalizer

Conversation

@ydah

@ydah ydah commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

The path in result.path = path does not exist in this scope, resulting in a NameError.

Furthermore, the order of arguments in add_finalizer(query, result, nil, data) is the reverse of the defined order: query, result_value, key, and finalizer. Simply correcting the undefined variables will still result in an incorrect registration.

@rmosolgo rmosolgo added this to the 2.6.6 milestone Jul 15, 2026
@rmosolgo

Copy link
Copy Markdown
Owner

Thanks for fixing this!

@rmosolgo
rmosolgo merged commit 011203d into rmosolgo:master Jul 21, 2026
13 checks passed
@ydah
ydah deleted the fix-operation-directive-finalizer branch July 21, 2026 23:18
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