refactor: isolate Context controls and layer restoration

This commit is contained in:
Sameh Khamis committed 2026-09-13 01:40:59 -07:00
1 parent 7f70b97536
commit fc369cc65a
26 files changed
+1471 -1271

No files matched your search

+2 -2
View File
@@ -300,7 +300,7 @@ test('newer navigation, reset, Cockpit, and teardown share one generation', () =
'this._disposed = true;',
'this._stampNavigation();',
'this._removeWorldRequestFocusListener?.();',
'await this._restoreContextSession();',
'await this._contextControls.restoreForDisposal();',
], 'dispose invalidation');
});
@@ -311,7 +311,7 @@ test('teardown synchronously closes immediate camera entry points', () => {
'this._removeCctvRequestFocusListener?.();',
'this._removeWorldRequestFocusListener?.();',
'this._navigationOwnerChangedRemover?.();',
'await this._restoreContextSession();',
'await this._contextControls.restoreForDisposal();',
], 'synchronous teardown barrier');
const navigation = body(