Fixed generic MistIn pointer mistake.
This commit is contained in:
parent
bd682b72bf
commit
c3ccee8e43
1 changed files with 2 additions and 2 deletions
|
@ -136,7 +136,7 @@ namespace Mist {
|
||||||
DEBUG_MSG(DLVL_HIGH,"Pre-While");
|
DEBUG_MSG(DLVL_HIGH,"Pre-While");
|
||||||
|
|
||||||
long long int activityCounter = Util::getMS();
|
long long int activityCounter = Util::getMS();
|
||||||
while ((Util::getMS() - activityCounter) < 10000){//1minute timeout
|
while ((Util::getMS() - activityCounter) < 10000){//10 second timeout
|
||||||
DEBUG_MSG(DLVL_HIGH, "Timer running");
|
DEBUG_MSG(DLVL_HIGH, "Timer running");
|
||||||
Util::sleep(1000);
|
Util::sleep(1000);
|
||||||
removeUnused();
|
removeUnused();
|
||||||
|
@ -162,8 +162,8 @@ namespace Mist {
|
||||||
change = false;
|
change = false;
|
||||||
for (std::map<unsigned int, unsigned int>::iterator it2 = it->second.begin(); it2 != it->second.end(); it2++){
|
for (std::map<unsigned int, unsigned int>::iterator it2 = it->second.begin(); it2 != it->second.end(); it2++){
|
||||||
if (!it2->second){
|
if (!it2->second){
|
||||||
pageCounter[it->first].erase(it2->first);
|
|
||||||
dataPages[it->first].erase(it2->first);
|
dataPages[it->first].erase(it2->first);
|
||||||
|
pageCounter[it->first].erase(it2->first);
|
||||||
change = true;
|
change = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue