Uploaded image for project: 'Modular Service Container'
  1. Modular Service Container
  2. MSC-177

Remove useless ServiceControllerImpl.StopContextImpl check

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 1.1.7.Final, 1.2.7.Final
    • None
    • None

      There's the following code snippet in ServiceControllerImpl.StopContextImpl:

      ...
      else if (state == ContextState.SYNC_ASYNC_FAILED) {
        state = ContextState.FAILED;
      }
      ...
      

      This code is effectively dead code because ServiceController's StopContext cannot fail.

              ropalka Richard Opalka
              ropalka Richard Opalka
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: