<div dir="ltr">So error handling seems to be something that needs a little improvement.<div><br></div><div>I use KMyMoney using MySQL. Both on windows as a client local to the network it is on, as well as remotely over a VPN on Ubuntu (though only very occasionally).</div>
<div><br></div><div>Windows being the primary client, I frequently have to swap between wireless and wired networks, as well as seeing the machine sleep.</div><div><br></div><div>The network switch is not smooth (damn Dell for not providing a combined network interface with shared MAC), so my IP will change during the interface swap. Sleeping will also obviously potentially cause long periods in which the TCP channel may close.</div>
<div><br></div><div>Overall, this leaves me with issues when I have KMyMoney open.</div><div><br></div><div>I may only occasionally get an exception window about the error, but near always, I find KMyMoney still wants to try and use the closed MySQL connection long after it is closed.</div>
<div><br></div><div>This can prompt the app to stall, not respond and otherwise act in an unfriendly way until I can close it.</div><div><br></div><div>Is there not more that can be done during a SQL driver exception, such as instantly close the application without any further attempts to use the closed socket?</div>
</div>