highfidelity/hifi — pull request #2440 by ZappoMan (2014-03-21 22:47:35+00:00)
Title: fix crash on domain restart in Agent, also have Agent properly shutdown on call to Script.stop()

* fix crash in agent on domain restart - closes #2254
* fix agent not returning back to available AC queue if script calls Script.stop() - closes #2434