MCPcopy Create free account
hub / github.com/URLab-Sim/UnrealRoboticsLab / UnregisterManager

Method UnregisterManager

Source/URLab/Private/Bridge/BridgeServer.cpp:137–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137void UURLabBridgeServer::UnregisterManager(AAMjManager* InManager)
138{
139 // Idempotent against mismatched cleanup orderings during PIE teardown.
140 if (ActiveManager.Get() != InManager)
141 return;
142 if (Dispatcher.IsValid())
143 {
144 // Per-cycle teardown only — session, encoding, and observation
145 // level are bridge-level and survive PIE end / level changes.
146 // BridgeServer::Stop is what fully drops them.
147 Dispatcher->OnManagerGone();
148 }
149 ActiveManager.Reset();
150}

Callers 2

CleanupMethod · 0.80
EndPlayMethod · 0.80

Calls 3

IsValidMethod · 0.80
OnManagerGoneMethod · 0.80
ResetMethod · 0.45

Tested by 1

CleanupMethod · 0.64