Commit 847ec229 authored by Simon Morlat's avatar Simon Morlat
Browse files

fix infinite loop in case of reentrancy

parent 3b4ef4e2
...@@ -471,6 +471,7 @@ void belle_sip_main_loop_run(belle_sip_main_loop_t *ml){ ...@@ -471,6 +471,7 @@ void belle_sip_main_loop_run(belle_sip_main_loop_t *ml){
ml->run=1; ml->run=1;
while(ml->run){ while(ml->run){
belle_sip_main_loop_iterate(ml); belle_sip_main_loop_iterate(ml);
if (ml->in_iterate) break;
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment