mdns: Fix a crash on context error
Make sure not to free the microdns provider context until the device provider asks it to stop. Fixes a crash if there is an error (such as MDNS port being busy) that makes the mdns listener exit early.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
Make sure not to free the microdns provider context until the device provider asks it to stop. Fixes a crash if there is an error (such as MDNS port being busy) that makes the mdns listener exit early.