ProgramRegistry::waitForPid doesn't correctly handle waitforpid return values

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.3.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Environment:
      Linux
    • Fully Compatible
    • ALL
    • STM 2022-02-07
    • 15
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      waitforpid can return -1 if it's run against a process that's already be waited on. Fix that by not running unregisterProgram when the return value is -1.

            Assignee:
            Richard Samuels (Inactive)
            Reporter:
            Richard Samuels (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: