achingbrain / nat-port-mapper

:left_right_arrow: Fast port mapping with UPnP and NAT-PMP
Other
1 stars 4 forks source link

App never exits #73

Closed brw closed 8 hours ago

brw commented 1 month ago

It seems like that when using the (in my case UPnP) client the app will never exit because discovery.stop() is never called after it's started. I wasn't sure if discovery.stop() could be placed right after the gateway has been discovered or if it should placed separately and only called on client.close(). Or if this should be necessary at all even.

achingbrain commented 8 hours ago

Fixed in #77 - discovery is now stopped after finding a gateway, please give it a go!