gabr42/OmniThreadLibrary

OmniThreadLibrary Issue - WaitFor() Doesn't executes the task for some random records

Opened this issue · 0 comments

We are working on a legacy application that is built using Delphi XE6. We have used the Omni Thread library and have version 3.05: 2015-09-07 installed.

We are facing an issue while executing this OTL code. When the control reaches line aTaskControl.WaitFor(10000); it doesn't execute any task. It skips and terminates the thread. This is happening randomly and more specifically in our Production environment whereas in the Dev environment it works fine.

In our task, we are connecting to our database and performing some checks and updating the records based on some business logic.

Any inputs or suggestions will be really helpful and appreciated.

Thanks.