`launchTheApp(clean: false)` in `AppContext` does not remove launch argument
Closed this issue · 0 comments
KaneCheshire commented
There's a sneaky bug when calling the function with clean: false
because this:
clean ? App.shared.launch(clean: true): App.shared.activate()
means that when we call .activate()
the launch argument to clean is still present (since it's only removed when calling .launch(clean: false)
.
I think in this case it's better to just make the function body be:
App.shared.launch(clean: clean)