fix major latent stack overflow error
This commit is contained in:
parent
ef9292689c
commit
f3f9cf47f2
@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
namespace MBS.Framework
|
||||
{
|
||||
public class NativeHandle
|
||||
@ -17,6 +17,11 @@ namespace MBS.Framework
|
||||
{
|
||||
return Handle.GetHashCode();
|
||||
}
|
||||
|
||||
public bool Equals(NativeHandle<THandle> other)
|
||||
{
|
||||
return this.Handle.Equals(other.Handle);
|
||||
}
|
||||
public override bool Equals(object obj)
|
||||
{
|
||||
if ((object)obj == null && (object)this == null)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user