Skip to content

Adding the same task twice leads to errors. #37

Closed

Description

@BlackEdder

If you add the same task twice that will lead to the task chain being broken. It is possible to check against this by adding the following here

     if (aTask.iScheduler == this)
         return;

Activity

  1. BlackEdder commented on Jun 8, 2017

    @BlackEdder
    ContributorAuthor

    Similarly it might be good in deleteTask to check if the task to be deleted is actually part of the scheduler. Also during deletion set aTask.iScheduler = NULL. Although this would mean you might need to delete high priority task differently (check that they are part of the high priority scheduler).

  2. arkhipenko commented on Aug 31, 2017

    @arkhipenko
    Owner

    Fixed in testing branch. Would you please test/confirm?

  3. arkhipenko commented on Dec 12, 2017

    @arkhipenko
    Owner

    Implemented in v2.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions