[Fix] (MobileGL/Init, MG_Backend): ShutdownSplitRoles exists only under MOBILEGL_BUILD_DISAGGREGATED - G1 admits no new pull symbol and the unconditional call moved DestroyImpl by 32 bytes

This commit is contained in:
2026-09-16 05:54:33 -04:00
parent 7ea3b1d1f1
commit 571cbabb53
3 changed files with 13 additions and 7 deletions
+2 -2
View File
@@ -170,8 +170,8 @@ namespace MobileGL::MG_Backend {
} // namespace
#endif
void ShutdownSplitRoles() {
#if MOBILEGL_BUILD_DISAGGREGATED
void ShutdownSplitRoles() {
if (MG_Config::Transport == MG_Config::TransportMode::Monolith) return;
// ClientSession::Stop IS table 3's whole order and it is idempotent: publish and wait
// for the server to drain (bounded - a lost record must be a red lane, not a hung
@@ -181,8 +181,8 @@ namespace MobileGL::MG_Backend {
// owns. A var-tail still named by an unapplied record is a use-after-free the join is
// what prevents, which is why the order is not a preference.
MG_Remote::Client::ClientSessionInstance().Stop();
#endif
}
#endif
void Init() {
MGLOG_D("Initializing MobileGL Backend...");