From fadd103169455c75666dfaf4eee6998d03300b8b Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 8 Oct 2022 14:44:53 +0200 Subject: [PATCH] Disable update check on emscripten. --- profiler/src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/profiler/src/main.cpp b/profiler/src/main.cpp index 27f15b78..c129f491 100644 --- a/profiler/src/main.cpp +++ b/profiler/src/main.cpp @@ -195,6 +195,7 @@ int main( int argc, char** argv ) connHist = &connHistory; filt = &filters; +#ifndef __EMSCRIPTEN__ updateThread = std::thread( [] { HttpRequest( "nereid.pl", "/tracy/version", 8099, [] ( int size, char* data ) { if( size == 4 ) @@ -206,6 +207,7 @@ int main( int argc, char** argv ) delete[] data; } ); } ); +#endif auto iconThread = std::thread( [] { iconPx = stbi_load_from_memory( (const stbi_uc*)Icon_data, Icon_size, &iconX, &iconY, nullptr, 4 );