... and here.

This commit is contained in:
Adam Ierymenko 2015-11-30 14:57:28 -08:00
parent 1e213b4d4c
commit d862d2868c

View file

@ -146,10 +146,12 @@ public:
surface.clear(); surface.clear();
surface.push_back(publicAddress); surface.push_back(publicAddress);
natPmpSuccess = true; natPmpSuccess = true;
closenatpmp(&natpmp);
break; break;
} else {
closenatpmp(&natpmp);
// continue
} }
closenatpmp(&natpmp);
} }
if (!natPmpSuccess) { if (!natPmpSuccess) {