mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-15 12:13:24 +00:00
fix segfault on quit
This commit is contained in:
parent
1df9a4b078
commit
cb2802e003
@ -188,6 +188,8 @@ struct llarp_ev_loop
|
|||||||
void
|
void
|
||||||
tick_listeners()
|
tick_listeners()
|
||||||
{
|
{
|
||||||
|
if(!running())
|
||||||
|
return;
|
||||||
for(auto& l : udp_listeners)
|
for(auto& l : udp_listeners)
|
||||||
if(l->tick)
|
if(l->tick)
|
||||||
l->tick(l);
|
l->tick(l);
|
||||||
|
Loading…
Reference in New Issue
Block a user