Skip to content

Commit

Permalink
Merge pull request #986 from anatawa12/fix-nre
Browse files Browse the repository at this point in the history
fix: Missing Reference Exception
  • Loading branch information
anatawa12 authored Apr 5, 2024
2 parents 46725ce + a4bb208 commit 5241aef
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG-PRERELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ The format is based on [Keep a Changelog].
### Removed

### Fixed
- Missing Reference Exception with Trace and Optimize `#986`

### Security

Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ The format is based on [Keep a Changelog].
### Removed

### Fixed
- Missing Reference Exception with Trace and Optimize `#986`

### Security

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,9 @@ private void ActivenessAnimation(GCComponentInfoHolder componentInfos)

do
{
var current = GetEntrypointActiveness(enumerator.Current, _context);
var component = enumerator.Current;
if (component == null) continue;
var current = GetEntrypointActiveness(component, _context);
resultSet.IntersectWith(current);
} while (enumerator.MoveNext() && resultSet.Count != 0);
}
Expand Down

0 comments on commit 5241aef

Please sign in to comment.