Commit c48f1a31 authored by Yann Diorcet's avatar Yann Diorcet
Browse files

Handle callbacks when destroying uPnP IGD

parent 4ed2e518
......@@ -1109,6 +1109,7 @@ void upnp_igd_destroy(upnp_igd_context* igd_ctxt) {
/* Stop client if started */
if(igd_ctxt->upnp_handle != -1) {
upnp_igd_stop(igd_ctxt);
upnp_context_handle_callbacks(igd_ctxt);
}
upnp_context_free_callbacks(igd_ctxt);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment