Skip to content

Commit

Permalink
Bring back assert in fx_ver_t::parse (#106050)
Browse files Browse the repository at this point in the history
  • Loading branch information
elinor-fung authored Aug 14, 2024
1 parent 7d2c465 commit b1968e7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/native/corehost/fxr/fx_ver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,6 @@ bool parse_internal(const pal::string_t& ver, fx_ver_t* fx_ver, bool parse_only_
bool fx_ver_t::parse(const pal::string_t& ver, fx_ver_t* fx_ver, bool parse_only_production)
{
bool valid = parse_internal(ver, fx_ver, parse_only_production);
// Causes a SIGABRT in free() on MacOS at least in singlefile, possibly elsewhere
// assert(!valid || fx_ver->as_str() == ver);
assert(!valid || fx_ver->as_str() == ver);
return valid;
}

0 comments on commit b1968e7

Please sign in to comment.