adobe/brackets-shell — pull request #282 by gruehle (2013-07-20 20:31:57+00:00)
Title: Ignore callbacks if the browser instance has been deleted

Fix (workaround?) for adobe/brackets#4522

If the browser instance has been deleted between the time an async call was made and it's callback function invoked, ignore the callback. This is safe to do since the browser instance itself has been deleted, so there is no way any client code is still running.