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