Browse Source

Merge pull request #8955 from workgroupengineering/fixes/core/MicroCom

fix(MicroComProxyBase): CS8073 The result of the expression is always 'false' since a value of type 'IntPtr' is never equal to 'null'
pull/8964/head
Max Katz 4 years ago
committed by GitHub
parent
commit
0533a20bcb
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/Avalonia.MicroCom/MicroComProxyBase.cs

2
src/Avalonia.MicroCom/MicroComProxyBase.cs

@ -65,7 +65,7 @@ namespace Avalonia.MicroCom
protected virtual void Dispose(bool disposing)
{
if(_nativePointer == null)
if(_nativePointer == IntPtr.Zero)
return;
if (_ownsHandle)
{

Loading…
Cancel
Save