On-demand relay mount vanishes shortly right after last player disconnects
If a on demand relay is configured, and the last listener disconnects, it vanishes from the stats for a short period of time.
This is because in source.c
the source_shutdown()
function deletes the source stats:
stats_event(source->mount, NULL, NULL);
There would be different approaches to fix this:
- Do not fix it at all
- If it is a on-demand mount, only remove the data that will probably change
- Remove all data and trigger immediate refresh of mount data (inefficient?)