cocos2d/cocos2d-swift — pull request #986 by sridenour (2014-09-17 23:47:56+00:00)
Title: Stop the CCDirector from running when the app is backgrounded

Stop the CCDirector from running when the app is backgrounded, regardless of what view controller is visible (because it will still crash if it tries to render in the background when it isn't the "visible" view controller).