fix(stability): various crashes (#3209)
This commit is contained in:
parent
65a7fcf426
commit
0d60bf16bf
1 changed files with 1 additions and 1 deletions
|
|
@ -116,7 +116,7 @@ macro_rules! active_tab_and_connected_client_id {
|
||||||
($screen:ident, $client_id:ident, $closure:expr, ?) => {
|
($screen:ident, $client_id:ident, $closure:expr, ?) => {
|
||||||
match $screen.get_active_tab_mut($client_id) {
|
match $screen.get_active_tab_mut($client_id) {
|
||||||
Ok(active_tab) => {
|
Ok(active_tab) => {
|
||||||
$closure(active_tab, $client_id)?;
|
$closure(active_tab, $client_id).non_fatal();
|
||||||
},
|
},
|
||||||
Err(_) => {
|
Err(_) => {
|
||||||
if let Some(client_id) = $screen.get_first_client_id() {
|
if let Some(client_id) = $screen.get_first_client_id() {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue