Ticket #157 (new defect)

Opened 8 years ago

Last modified 6 years ago

Tdtool takes long time to exit in Linux/Mac

Reported by: stefan persson <stefan.persson@…> Owned by:
Priority: major Milestone: 2.1.3
Component: telldus-core Version: 2.1.0
Keywords: Cc:
Blocked By: Blocking:
Platform: Linux Sensitive: no
Verified by Telldus: yes

Description

Interrupt "std::wstring clientMessage = d->eventSocket.read(5000);" when stopping Client thread.

That's why for example tdtool now takes up to 5 seconds to finish in Linux (tdClose). See if Windows is affected.

Change History

comment:1 Changed 8 years ago by micke.prag@…

commit b0f092e98d602301ead905292420777c5da7640e
Author: Micke Prag <micke.prag@…>
Date: Thu Jan 12 10:30:23 2012 +0100

Lower the read timeout for events in the client. This should be reset
again when #157 is fixed.
See #157.

comment:2 Changed 7 years ago by micke prag <micke.prag@…>

  • Sensitive unset
  • Milestone changed from 2.1.2 to 2.1.3

comment:3 Changed 6 years ago by erik johansson <erik@…>

Sent a pull request yesterday that should fix this issue:  https://github.com/telldus/telldus/pull/5

Note: See TracTickets for help on using tickets.