Skip to content

Commit

Permalink
Fix crash bug on pane close
Browse files Browse the repository at this point in the history
Addresses tmate-io#97
  • Loading branch information
Zoooook authored Sep 30, 2022
1 parent 958e8f7 commit 4de8529
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tmate-daemon-decoder.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,6 @@ static void tmate_sync_window_panes(struct window *w,

active_pane_id = unpack_int(w_uk);
wp = window_pane_find_by_id(active_pane_id);
if (!wp || wp->window != w)
tmate_fatal("Invalid active_pane_id recevied");
window_set_active_pane(w, wp);
}

Expand Down

0 comments on commit 4de8529

Please sign in to comment.