Skip to content

Commit

Permalink
WebAssembly is crashing on multiple GC threads
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Granick committed May 24, 2023
1 parent 95ebfc3 commit bca59f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hx/gc/Immix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ static bool sGcVerifyGenerational = false;
#endif


#if HX_HAS_ATOMIC && (HXCPP_GC_DEBUG_LEVEL==0) && !defined(HX_GC_VERIFY)
#if HX_HAS_ATOMIC && (HXCPP_GC_DEBUG_LEVEL==0) && !defined(HX_GC_VERIFY) && !defined(EMSCRIPTEN)
#if defined(HX_MACOS) || defined(HX_WINDOWS) || defined(HX_LINUX)
enum { MAX_GC_THREADS = 4 };
#else
Expand Down

0 comments on commit bca59f4

Please sign in to comment.