mirror of
https://github.com/lihop/godot-xterm.git
synced 2025-05-13 23:05:31 +02:00
Prevent exit callback instance leaks
De-references pty_baton's exit callback after it is called so it can be automatically released, preventing leaked instances. Adds basic implementation for Pipe's get_status() method and forces PTY to wait for child process to exit to ensure exit callback is cleaned up. Adds a test to check that exit callback is still called as usual.
This commit is contained in:
parent
38927e0a3e
commit
0ae1d80abb
5 changed files with 24 additions and 4 deletions
|
@ -31,6 +31,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
`pipe.close()` method of the gdnative library is now registered.
|
||||
- Fixed 'Condition "!obj" is true.' error that would often print to console when
|
||||
closing terminals in the Terminal panel of the editor plugin.
|
||||
- Fixed leaked instances that would occur when PTY exited but child process was still
|
||||
running.
|
||||
|
||||
|
||||
## [v2.0.0](https://github.com/lihop/godot-xterm/compare/v1.2.1...v2.0.0) - 2021-07-25
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue