Skip to content

Commit

Permalink
Make rr ignore SIGWINCH to avoid it being delivered at inconvenient…
Browse files Browse the repository at this point in the history
… times during detach-teleport

`SIGWINCH` will be reenabled when we spawn any child, in `set_up_process`.

Resolves #3885
  • Loading branch information
rocallahan committed Dec 14, 2024
1 parent 8ebb533 commit ccb0905
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/RecordCommand.cc
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,7 @@ static void install_signal_handlers(void) {
sigaction(SIGTRAP, &sa, nullptr);
sigaction(SIGTTIN, &sa, nullptr);
sigaction(SIGTTOU, &sa, nullptr);
sigaction(SIGWINCH, &sa, nullptr);
}

static void setup_session_from_flags(RecordSession& session,
Expand Down

0 comments on commit ccb0905

Please sign in to comment.