libgdx/libgdx — pull request #112 by ttencate (2012-11-13 17:12:37+00:00)
Title: Make Game#setScreen accept null

It starts out with screen == null, so it's silly that it's not possible to get back to that state.

Use case: I have a method that cleans up (disposes) a Screen without knowing which Screen will be next. Naturally, I don't want any references lying around to a disposed screen.