diff --git a/examples/upnp_test.cpp b/examples/upnp_test.cpp index fce1aa056..6bec75a2c 100644 --- a/examples/upnp_test.cpp +++ b/examples/upnp_test.cpp @@ -70,6 +70,7 @@ int main(int argc, char* argv[]) if (a == 0) { s.stop_upnp(); + s.stop_natpmp(); break; } std::auto_ptr holder = s.pop_alert();