TFunctionRef Binding

I’m trying to bind a TFunctionRef to a member function,I have a TMap<FString,TFunctionRef()>
Bind:
Map.Add(“val”,this{CallMapFunc();});

Call:
if(Map.Contains(“val”))
{
Map"val";
},

When I called,editor crashed
log:Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000000000000011

UnrealEditor_YDK_2306!TSet<TTuple<FString,TFunctionRef<void __cdecl(void)> >,TDefaultMapHashableKeyFuncs<FString,TFunctionRef<void __cdecl(void)>,0>,FDefaultSetAllocator>::FindId() [D:\UE_5.1\Engine\Source\Runtime\Core\Public\Containers\Set.h:876]

Ok I finally solved that,TFunctionRef don’t have ownership,we can only use that in function parameters.But we can use TFunction