nushell/crates/nu-plugin-engine
Devyn Cairns d80de68665
Clean up arguments added to stack after CallDecl engine call (#13469)
# Description

Just realized I hadn't been cleaning up the arguments added to the
`Stack` after the `CallDecl` engine call was finished, so there could be
a bit of a memory leak if a plugin made many calls during the duration
of a single plugin call. This is a quick patch to that.

I'm probably going to revise how this all works at some point soon
because I think it is a bit of a pitfall. It would be good to make it
much more difficult to make a mistake with it, perhaps with a guard like
Ian did for the redirection stuff.

# After Submitting
- [ ] release with 0.96.1
2024-07-27 19:39:17 -07:00
..
src Clean up arguments added to stack after CallDecl engine call (#13469) 2024-07-27 19:39:17 -07:00
Cargo.toml Bump version to 0.96.1 (#13439) 2024-07-25 18:28:18 +08:00
LICENSE Split the plugin crate (#12563) 2024-04-27 12:08:12 -05:00
README.md Split the plugin crate (#12563) 2024-04-27 12:08:12 -05:00

nu-plugin-engine

This crate provides functionality for the Nushell engine to spawn and interact with plugins.