Fixed close not working

pull/649/head
AlexandreRouma 2022-02-14 19:36:49 +01:00
rodzic 96da404149
commit 6eb8bfc29a
2 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -285,6 +285,8 @@ namespace backend {
render();
}
return 0;
}
int end() {

Wyświetl plik

@ -69,7 +69,7 @@ int sdrpp_main(int argc, char* argv[]) {
if (!options::parse(argc, argv)) { return -1; }
#ifdef _WIN32
if (!options::opts.showConsole) { FreeConsole(); }
if (!options::opts.showConsole && !options::opts.serverMode) { FreeConsole(); }
#endif
// Check root directory
@ -338,5 +338,6 @@ int sdrpp_main(int argc, char* argv[]) {
core::configManager.save();
#endif
spdlog::info("Exiting successfully");
return 0;
}