mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-12-25 02:18:30 +01:00
Fixed close not working
This commit is contained in:
parent
96da404149
commit
6eb8bfc29a
@ -285,6 +285,8 @@ namespace backend {
|
|||||||
|
|
||||||
render();
|
render();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int end() {
|
int end() {
|
||||||
|
@ -69,7 +69,7 @@ int sdrpp_main(int argc, char* argv[]) {
|
|||||||
if (!options::parse(argc, argv)) { return -1; }
|
if (!options::parse(argc, argv)) { return -1; }
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
if (!options::opts.showConsole) { FreeConsole(); }
|
if (!options::opts.showConsole && !options::opts.serverMode) { FreeConsole(); }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Check root directory
|
// Check root directory
|
||||||
@ -338,5 +338,6 @@ int sdrpp_main(int argc, char* argv[]) {
|
|||||||
core::configManager.save();
|
core::configManager.save();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
spdlog::info("Exiting successfully");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user