mirror of
https://github.com/godotengine/godot.git
synced 2026-01-08 00:25:01 +03:00
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:
@@ -161,7 +161,7 @@ namespace Godot
|
||||
|
||||
public override int GetHashCode()
|
||||
{
|
||||
return NativeValue.GetHashCode();
|
||||
return NativeValue.DangerousSelfRef.GetHashCode();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user