We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 135e086 commit cb8bfd1Copy full SHA for cb8bfd1
Source/Magick.NET/Core/Drawables/PointInfo.cs
@@ -13,6 +13,7 @@
13
//=================================================================================================
14
15
using System.Collections.Generic;
16
+using System.Diagnostics;
17
18
namespace ImageMagick
19
{
@@ -42,8 +43,8 @@ public int Count
42
43
44
public void Dispose()
45
- if (_NativeInstance != null)
46
- _NativeInstance.Dispose();
+ Debug.Assert(_NativeInstance != null);
47
+ _NativeInstance.Dispose();
48
}
49
50
0 commit comments