Files
vscode/src
irengrig fc54e0f89c Initialize Offline contribution on Restored phase (#158261)
In a rare case of the slow network, Chrome can signal that the network is offline during the VSCode initialization - while the workbench parts still were not created, but the Offline contribution was already registered (since Starting is an initial lifecycle stage).
Then as assertion is thrown from the Offline contribution, and it only updates the color of the status bar, but does not place the 'Offline' status bar item - I think this may be confusing for users; also the status bar color will never change back if the attempt to change a status bar will happen during the Offline contribtion *construction* - there will be no code to change it back.

Solution: initialize the Offline contribution later; this should not make a big difference.
2022-08-24 12:43:30 +00:00
..