unregisterNavigator

fun unregisterNavigator(navigatorId: String)

Removes whatever NavigationController is registered under navigatorId, if any — called when the owning backstack (a NestedNavigationGraph tile, or the app root) leaves composition, so navigation events targeting it correctly fail afterward instead of reaching a stale controller.