fixed nat-pmp bug

This commit is contained in:
Arvid Norberg
2009-12-07 04:40:36 +00:00
parent 0f0fb82407
commit 2b5a886ff8
2 changed files with 2 additions and 0 deletions

View File

@@ -586,6 +586,7 @@ void natpmp::close_impl(mutex::scoped_lock& l)
}
error_code ec;
m_refresh_timer.cancel(ec);
m_currently_mapping = -1;
update_mapping(0, l);
}