appcelerator/titanium_mobile — pull request #4800 by salachi (2013-10-17 17:52:07+00:00)
Title: TIMOB-15248-Added null check for activity

Added null check for getCurrentActivity and getAppCurrentActivity as this could return null during app shutdown.

https://jira.appcelerator.org/browse/TIMOB-15248