Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-2597

[CocoonWrapper] Wait for asynchronous observers to finish when leaving environment

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.1.0
    • 4.1.0
    • Tests
    • None

      As request is available in the environment, in #_leaveEnvironment method, we can get the futures of the current request from the ObservationManager, and call #get() in order to wait for all async observers to finish, so as to avoid some issues when Cocoon is disposed but some Observers are not finished

            sprieul Simon Prieul (Inactive)
            sprieul Simon Prieul (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: