Skip to content

fix(session): check inputs and fix leaks and a double free in run_async - #632

Merged
decahedron1 merged 2 commits into
pykeio:mainfrom
onuralpszr:fix-run-async
Sep 25, 2026
Merged

decahedron1 merged 2 commits into
pykeio:mainfrom
onuralpszr:fix-run-async

Conversation

@onuralpszr

Copy link
Copy Markdown
Contributor

Makes run_async reject more inputs than the model accepts like run does, frees the output names and the leaked context when RunAsync fails straight away, and reuses preallocated outputs instead of freeing them twice, each with a test that fails or crashes without the fix.

@decahedron1
decahedron1 merged commit 9dc6f62 into pykeio:main Sep 25, 2026
17 of 18 checks passed
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