Skip to content

Conversation

@tintou
Copy link
Member

@tintou tintou commented Nov 21, 2024

No description provided.

@jeremypw
Copy link
Collaborator

If run on OS7.1 this seems to cause the whole session to crash when the terminal window is closed. It runs OK on OS8 though.

@jeremypw
Copy link
Collaborator

The problem is caused by an incorrect signature for TerminalSpawnAsyncCallback in the version of vte-2.91.vapi in OS7.1. If a corrected version is put in the the vapi folder of the source code then the issue is fixed.

}
);

check_cwd_changed ();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be inside the callback?

-1,
null,
(terminal, pid, error) => {
if (pid != -1) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better to check error == null since the else clause dereferences error?

@jeremypw
Copy link
Collaborator

jeremypw commented Sep 8, 2025

The Gtk4 port branch uses the non-deprecated async version of spawn and is close to completion so probably not worth completing this branch?

@jeremypw jeremypw marked this pull request as draft September 8, 2025 12:11
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.

3 participants