mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-04-03 06:16:15 +00:00
Base for new system
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
#include <thread>
|
||||
#include <iostream>
|
||||
|
||||
[[noreturn]] void aa(){
|
||||
[[noreturn]] void flush(){
|
||||
while(true){
|
||||
std::cout.flush();
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(500));
|
||||
@@ -16,8 +16,8 @@
|
||||
|
||||
int main(int argc, char* argv[]) {
|
||||
#ifdef DEBUG
|
||||
std::thread gb(aa);
|
||||
gb.detach();
|
||||
std::thread th(flush);
|
||||
th.detach();
|
||||
#endif
|
||||
InitLauncher(argc,argv);
|
||||
CheckDir(argc,argv);
|
||||
|
||||
Reference in New Issue
Block a user