<div dir="ltr"><div class="gmail_extra">Hi</div><div class="gmail_extra"><br><div class="gmail_quote">2016-04-18 8:40 GMT+02:00 marcel.taeumel <span dir="ltr">&lt;<a href="mailto:Marcel.Taeumel@hpi.de" target="_blank">Marcel.Taeumel@hpi.de</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":6fj" class="a3s" style="overflow:hidden">Hi there,<br>
<br>
there are three different scenarios for shutdown:<br>
<br>
1. Save and resume<br>
2. Save and quit<br>
3. Quit only<br>
<br>
For general clean-up routines, 1 and 2 should clean-up, while 3 does not<br>
have to. So, one variable might be sufficient. :-)<br>
<br>
Any other ways of using shutdown?<br></div></blockquote></div><br>But good practice is to close DB connections when app is closing for example</div></div>