Hi,
D::NYTProf requires that the profiled application exit cleanly. Dancer::dance does not return and the only way to exit a dancer app (to my limited knowledge) is to either hit Ctrl-C or kill -HUP if running with -d.
How can I exit a Dancer app cleanly so that NYTProf can write its profile
Thanks!