Just guessing... you can try something like this:
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!
_______________________________________________
Dancer-users mailing list
Dancer-users@perldancer.org
http://www.backup-manager.org/cgi-bin/listinfo/dancer-users