Uploaded image for project: 'MidPoint'
  1. MidPoint
  2. MID-299

Scanner thread stopping

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8 (Hyperion)
    • Fix Version/s: 1.8 (Hyperion)
    • Component/s: Repository
    • Labels:
      None

      Description

         scannerThread.disable();
         scannerThread.interrupt();
      

      not good solution for stopping thread, thread should contain some flag. In run() method you should check this flag on proper places and break while cycle

        Attachments

          Activity

            People

            Assignee:
            lazyman Viliam Repan
            Reporter:
            lazyman Viliam Repan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: