What is the best way to see that Mojolicious app is terminated (application
running via hypnotoad/morbo)? This can be useful when you need to aggregate
some data in memory and periodically flushing the data in the persistent
store.

Should I use sub DESTROY inside the app for this? Or I need just subscribe
to the event finish in Mojo::IOLoop?  Are there any ways to do this?


-- 
Andrey Khozov

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to