Setting in progress before notifying listeners.
This commit is contained in:
parent
410fef27bc
commit
6aaf54a2b4
1 changed files with 1 additions and 1 deletions
|
@ -3834,8 +3834,8 @@ void rai::bootstrap_initiator::warmup (rai::endpoint const & endpoint_a)
|
|||
if (!in_progress && warmed_up.size () < 2 && !in_progress && warmed_up.find (endpoint_a) == warmed_up.end ())
|
||||
{
|
||||
warmed_up.insert (endpoint_a);
|
||||
notify_listeners ();
|
||||
in_progress = true;
|
||||
notify_listeners ();
|
||||
initiate (endpoint_a);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue