mirror of https://github.com/godotengine/godot
Merge pull request #106133 from fLindahl/stringname_movable_dict_fix
[.NET] Avoid heap alloc when using StringNames as key in a Dictionary
This commit is contained in:
commit
bd619b8d32
|
|
@ -161,7 +161,7 @@ namespace Godot
|
|||
|
||||
public override int GetHashCode()
|
||||
{
|
||||
return NativeValue.GetHashCode();
|
||||
return NativeValue.DangerousSelfRef.GetHashCode();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue