Skip to content

Commit b1968e7

Browse files
authored
Bring back assert in fx_ver_t::parse (#106050)
1 parent 7d2c465 commit b1968e7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/native/corehost/fxr/fx_ver.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,6 @@ bool parse_internal(const pal::string_t& ver, fx_ver_t* fx_ver, bool parse_only_
373373
bool fx_ver_t::parse(const pal::string_t& ver, fx_ver_t* fx_ver, bool parse_only_production)
374374
{
375375
bool valid = parse_internal(ver, fx_ver, parse_only_production);
376-
// Causes a SIGABRT in free() on MacOS at least in singlefile, possibly elsewhere
377-
// assert(!valid || fx_ver->as_str() == ver);
376+
assert(!valid || fx_ver->as_str() == ver);
378377
return valid;
379378
}

0 commit comments

Comments
 (0)