• Max Kellermann's avatar
    Main: move log_deinit() call to mpd_main() · 6ffbb151
    Max Kellermann authored
    Deinitialize the logging library after the last exception handler,
    because that one could still need it.
    
    Use `AtScopeExit()` to ensure it's always called, even if an exception
    was thrown.
    6ffbb151
Main.cxx 16.7 KB