-
Notifications
You must be signed in to change notification settings - Fork 1
LPS-88891 Use a ServiceTracker to obtain the ServletContext object to avoid lifecyle issues #1592
Conversation
… avoid lifecyle issues
To conserve resources, the PR Tester does not automatically run for every pull. If your code changes were already tested in another pull, reference that pull in this pull so the test results can be analyzed. If your pull was never tested, comment "ci:test" to run the PR Tester for this pull. |
ci:test |
@izaera Why not use a ServiceTrackerList in 49aeaeb (first commit)? I think that would make things slightly simpler. Cheers! |
Pull request submitted to brianchandotcom#66748. See changes here. |
A ServiceTrackerList wouldn't do the work because we need a way to defer the variable registration in case the ServletContext is not available when the JSBundle appears. So we are using the ServiceTracker as a kind of Promise more than as a real tracker. |
No description provided.