ServiceClient<>: renaming and a minor logic fix

This commit is contained in:
Pavel Kirienko
2015-05-16 21:19:54 +03:00
parent 9ba6050af1
commit 90d60688b3
3 changed files with 14 additions and 12 deletions
@@ -327,9 +327,9 @@ class RaftCore : private TimerBase
for (uint8_t i = 0; i < NumRequestVoteClients; i++)
{
request_vote_clients_[i]->cancelAll(); // TODO FIXME Concurrent calls!!
request_vote_clients_[i]->cancelAllCalls(); // TODO FIXME Concurrent calls!!
}
append_entries_client_.cancelAll();
append_entries_client_.cancelAllCalls();
/*
* Calling the switch handler
@@ -253,7 +253,7 @@ public:
exit:
ns_sub_.stop();
cats_cln_.cancelAll();
cats_cln_.cancelAllCalls();
return res;
}