diff options
author | Bartosz Taudul <wolf@nereid.pl> | 2022-10-08 15:44:53 +0300 |
---|---|---|
committer | Bartosz Taudul <wolf@nereid.pl> | 2022-10-08 15:44:53 +0300 |
commit | fadd103169455c75666dfaf4eee6998d03300b8b (patch) | |
tree | d590948b041692692a391f48b34a9aed127ec15e /profiler | |
parent | 2b6c53a73e5e741c4113e9963b96302e77aa6f6e (diff) |
Disable update check on emscripten.
Diffstat (limited to 'profiler')
-rw-r--r-- | profiler/src/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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 ); |