Uploaded image for project: 'Errai'
  1. Errai
  2. ERRAI-1095

Prevent callbacks from invoking with Caller<T> when user bean is destroyed

    Details

    • Type: Enhancement
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.1.2.Final
    • Fix Version/s: 4.1.3.Final
    • Component/s: None
    • Labels:

      Description

      When an RPC request is sent with a Caller<T>, it's possible that the bean containing the caller can be destroyed before the response is received and the callback invoked. When this happens, user applications can see strange behaviour.

      Destroying a user bean should destroy injected callers, preventing their inflight RPCs from invoking callbacks.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mbarkley Max Barkley
                  Reporter:
                  mbarkley Max Barkley
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: