mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 04:05:52 +08:00
Stop timers in destructor.
Fix of crash when changing lang.
This commit is contained in:
parent
de6f111eb6
commit
31088cc139
@ -182,6 +182,8 @@ UserAccountCommunication::UserAccountCommunication(wxEvtHandler* evt_handler, Ap
|
|||||||
|
|
||||||
UserAccountCommunication::~UserAccountCommunication()
|
UserAccountCommunication::~UserAccountCommunication()
|
||||||
{
|
{
|
||||||
|
m_token_timer->Stop();
|
||||||
|
m_polling_timer->Stop();
|
||||||
if (m_thread.joinable()) {
|
if (m_thread.joinable()) {
|
||||||
// Stop the worker thread, if running.
|
// Stop the worker thread, if running.
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user