- This topic has 6 replies, 2 voices, and was last updated 1 week ago by .
Viewing 5 reply threads
Viewing 5 reply threads
- You must be logged in to reply to this topic.
Hello,
The below code doesn’t repeat every 3 seconds while if i remove the “precise” it works.
Thank you
FConnectEvent := Scheduler.Schedule(ConnectEvent).Precise.EverySecond(3).
QueuedAfterRun(procedure(const Task: IkbmMWScheduledEvent)
begin
// Do Something
end).
WhenException(procedure(const AException: Exception)
begin
// Do Something
end).Activate;
This problem does exist and we look forward to resolving it as soon as possible. Additionally, I have encountered issues with calling the Activate method.
When switching to Activate, Activate=True and the schedule is not executed.
Actually the Precise Thread Interval Starts but if you deactivate the Event and Reactivate it doesn’t work. So the problem is on the 2nd time you activate the precise event/schedule.
Seems it’s choosing wrong (active) thread from the thread pool … might be wrong
Well i’ve created my own thread timer as workaround until Kim fixes the “Activation” bug of kbmMWScheduler.