mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
termio/exec: need to defer deinit for DCS command
This commit is contained in:
@ -1216,7 +1216,7 @@ const StreamHandler = struct {
|
|||||||
|
|
||||||
pub fn dcsUnhook(self: *StreamHandler) !void {
|
pub fn dcsUnhook(self: *StreamHandler) !void {
|
||||||
var cmd = self.dcs.unhook() orelse return;
|
var cmd = self.dcs.unhook() orelse return;
|
||||||
cmd.deinit();
|
defer cmd.deinit();
|
||||||
|
|
||||||
// log.warn("DCS command: {}", .{cmd});
|
// log.warn("DCS command: {}", .{cmd});
|
||||||
switch (cmd) {
|
switch (cmd) {
|
||||||
|
Reference in New Issue
Block a user