mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Cleanup
This commit is contained in:
parent
c568995d56
commit
b496327380
@ -46,15 +46,9 @@ CBrowser::CBrowser(void)
|
||||
#ifndef CLIENT_DLL
|
||||
static std::thread hostingServerRequestThread([this]()
|
||||
{
|
||||
RefreshServerList();
|
||||
while (true)
|
||||
{
|
||||
static bool bRefreshed = false;
|
||||
if (!bRefreshed) // Refresh when created.
|
||||
{
|
||||
RefreshServerList();
|
||||
bRefreshed = true;
|
||||
}
|
||||
|
||||
UpdateHostingStatus();
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(5000));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user