4 ms·You can add a kill/shutdown message handler and move your state somewhere else before the process dies.by jgautsch 6y agoYou can add a kill/shutdown message handler and move your state somewhere else before the process dies.