summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2019-12-03 12:49:18 -0500
committerNat Goodspeed <nat@lindenlab.com>2020-03-25 15:28:17 -0400
commit794072c1415e986b95cab65f8217857263d7468a (patch)
treecc57840051221e914281359165a7d5aae5b2b73e /scripts
parentb080b06b422db6405982bee603118ee68e6c2500 (diff)
DRTVWR-494: Streamline LLSingleton state machine.
The CONSTRUCTED state was only briefly set between constructSingleton() and finishInitializing(). But as no consumer code is executed between setting CONSTRUCTED and setting INITIALIZING, it was impossible to reach the switch statement in either getInstance() method in state CONSTRUCTED. So there was no point in state CONSTRUCTED. Remove it. With CONSTRUCTED gone, we only ever call finishInitializing() right after constructSingleton(). Merge finishInitializing() into constructSingleton().
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions