mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-15 12:13:24 +00:00
don't tick in kqueue if closed
This commit is contained in:
parent
2bd7f2101d
commit
dd6a8360ba
@ -195,7 +195,8 @@ struct llarp_kqueue_loop : public llarp_ev_loop
|
||||
++idx;
|
||||
}
|
||||
}
|
||||
tick_listeners();
|
||||
if(result != -1)
|
||||
tick_listeners();
|
||||
return result;
|
||||
}
|
||||
|
||||
@ -229,7 +230,8 @@ struct llarp_kqueue_loop : public llarp_ev_loop
|
||||
++idx;
|
||||
}
|
||||
}
|
||||
tick_listeners();
|
||||
if(result != -1)
|
||||
tick_listeners();
|
||||
} while(result != -1);
|
||||
return result;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user