Skip to content

Commit

Permalink
Merge pull request #521 from jeffu231/VIX-3437
Browse files Browse the repository at this point in the history
VIX-3437 Add null checking on context release.
  • Loading branch information
jeffu231 authored Sep 16, 2023
2 parents a968b07 + 7eb1223 commit 72925bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Vixen.Core/Sys/Managers/ContextManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ public ISequenceContext CreateSequenceContext(ContextFeatures contextFeatures, I

public void ReleaseContext(IContext context)
{
if (context == null) return;
if (_instances.ContainsKey(context.Id)) {
_ReleaseContext(context);
}
Expand Down

0 comments on commit 72925bc

Please sign in to comment.