trema/trema — pull request #303 by userlocalhost2000 (2013-06-01 16:39:21+00:00)
Title: make 'stop' event handler

This is for reporting 'termination' to the application.

When Trema called shutdown! method of Controller object, Controller calls 'stop' handler if it exists.