# Why does eM Client not shutdown correctly, causing database corruption

**URL:** <https://forum.emclient.com/t/why-does-em-client-not-shutdown-correctly-causing-database-corruption/112613>\
**Category:** Uncategorized\
**Created:** [November 19, 2025, 8:17am UTC](https://forum.emclient.com/t/why-does-em-client-not-shutdown-correctly-causing-database-corruption/112613 "2025-11-19T08:17:37Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![r00tsh3ll](https://forum.emclient.com/user_avatar/forum.emclient.com/r00tsh3ll/32/3257_2.png) [@r00tsh3ll](https://forum.emclient.com/u/r00tsh3ll)\
**Post date:** [November 22, 2025, 1:12am UTC](https://forum.emclient.com/t/why-does-em-client-not-shutdown-correctly-causing-database-corruption/112613/2 "2025-11-22T01:12:50Z")

</div>

Hi, there is another thread about this, but no real answer so far.

> [@Normal shutdown when turning off or restarting the computer](https://forum.emclient.com/t/normal-shutdown-when-turning-off-or-restarting-the-computer/95449/5):
>
> I too, would really like eM Client to respond properly to WM\_QUERYENDSESSION and WM\_ENDSESSION messages as issued by Windows at shutdown. There is a protocol on how to respond to these two messages and would prevent this problem in most situations.

---

_[View the full topic](https://forum.emclient.com/t/why-does-em-client-not-shutdown-correctly-causing-database-corruption/112613)._
