Resets the shared root scope without replacing it.
This disposes the root scope's current child scopes, runs its registered cleanup callbacks, and clears its local slot values, but keeps the shared root scope itself usable afterwards.
ScopeError - When the root scope owns asynchronous cleanup and must be reset through resetRootScopeAsync.
Resets the shared root scope without replacing it.
This disposes the root scope's current child scopes, runs its registered cleanup callbacks, and clears its local slot values, but keeps the shared root scope itself usable afterwards.