mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-25 05:06:24 +03:00
termio: env should not freed because arena gets it
This commit is contained in:
@ -434,7 +434,6 @@ const Subprocess = struct {
|
|||||||
/// Clean up the subprocess. This will stop the subprocess if it is started.
|
/// Clean up the subprocess. This will stop the subprocess if it is started.
|
||||||
pub fn deinit(self: *Subprocess) void {
|
pub fn deinit(self: *Subprocess) void {
|
||||||
self.stop();
|
self.stop();
|
||||||
self.env.deinit();
|
|
||||||
self.arena.deinit();
|
self.arena.deinit();
|
||||||
self.* = undefined;
|
self.* = undefined;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user