MCPcopy Create free account
hub / github.com/Tencent/UnLua / MakeGuard

Method MakeGuard

Plugins/UnLua/Source/UnLua/Private/LuaDeadLoopCheck.cpp:29–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27 }
28
29 TUniquePtr<FDeadLoopCheck::FGuard> FDeadLoopCheck::MakeGuard()
30 {
31 if (Timeout <= 0)
32 return TUniquePtr<FGuard>();
33 return MakeUnique<FGuard>(this);
34 }
35
36 FDeadLoopCheck::FRunner::FRunner()
37 : bRunning(true),

Callers 4

StartMethod · 0.45
DoStringMethod · 0.45
RunChunkFunction · 0.45
CallLuaInternalMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected