Skip to content

Commit

Permalink
Release configuration resource. (#53857)
Browse files Browse the repository at this point in the history
Co-authored-by: shuxinqin <shuxinqin@outlook.com>
  • Loading branch information
shuxinqin and shuxinqin authored Jun 9, 2021
1 parent c309646 commit 29354ef
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,7 @@ private void Dispose(bool disposing)
return;
}

_configuration?.Dispose();
_state?.Handle?.Dispose();
if (_stateHandle.IsAllocated) _stateHandle.Free();
_disposed = true;
Expand Down

0 comments on commit 29354ef

Please sign in to comment.