To view this discussion on the web visit https://groups.google.com/d/msgid/chicagoboss/bd266859-2009-46bb-8655-0a91df5595a0%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/chicagoboss/f5b9ee23-79d7-4351-875f-cf003d634e7f%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/chicagoboss/27e12e81-9d85-4cdf-a871-4a2caf806012%40googlegroups.com.
I'm honestly not sure how gracefully q() kills the VM, but both Chan and I are giving suggestions for when you run boss:stop().
If you are going want to shut down gracefully, then I'd suggest boss:stop(), followed by q().
Then you can be sure your shutdown scripts have been run. That said, there are obviously numerous reasons a VM could be shut down instantly and without a proper shutdown (kill -9, power failure, kernel panic, etc).
If you can, I recommend building around that kind of restriction, rather than relying on a "clean shutdown" every time.
--
Jesse Gumm
Owner, Sigma Star Systems
414.940.4866 || sigma-star.com || @jessegumm
To view this discussion on the web visit https://groups.google.com/d/msgid/chicagoboss/CAB-Ofhnupg4uuEE_9amxThE_gbDqf9TqdokaZmnJZ4%3DiVNbcFA%40mail.gmail.com.