Skip to content

Commit

Permalink
[browser] enable mono_gc_is_critical_method for MT build (#88735)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelsavara committed Jul 26, 2023
1 parent 8479eab commit 05d5656
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mono/mono/metadata/sgen-mono.c
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ sgen_has_critical_method (void)
gboolean
mono_gc_is_critical_method (MonoMethod *method)
{
#if defined(HOST_WASM) || defined(HOST_WASI)
#if defined (DISABLE_THREADS) && (defined(HOST_WASM) || defined(HOST_WASI))
//methods can't be critical under wasm due to the single thread'ness of it
return FALSE;
#else
Expand Down

0 comments on commit 05d5656

Please sign in to comment.