mirror of
https://github.com/Telecominfraproject/wlan-cloud-owprov.git
synced 2025-10-29 17:52:28 +00:00
Signed-off-by: stephb9959 <stephane.bourque@gmail.com>
This commit is contained in:
@@ -47,8 +47,8 @@ namespace OpenWifi {
|
||||
for(auto it = jobs_.begin(); it!=jobs_.end();) {
|
||||
if(*it!=nullptr && (*it)->Completed()!=0) {
|
||||
auto tmp = it;
|
||||
it = jobs_.erase(it);
|
||||
std::cout << "Completed: " << (*it)->Name() << " ID:" << (*it)->JobId() << std::endl;
|
||||
it = jobs_.erase(it);
|
||||
delete *tmp;
|
||||
} else {
|
||||
++it;
|
||||
|
||||
Reference in New Issue
Block a user