aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/installation/extension.ts
diff options
context:
space:
mode:
authorVeetaha <[email protected]>2020-03-14 00:01:28 +0000
committerVeetaha <[email protected]>2020-03-14 00:01:46 +0000
commitd7b46e0527cd7b52845f37cffc57cbae4ba0b945 (patch)
treeb00b65495dd255bcc7376abd13eeed035cdd9ac2 /editors/code/src/installation/extension.ts
parent7f02d4657b796a438e441e107d4fb1906ec1ed7b (diff)
vscode-postrefactor: enforcing more reentrancy
Diffstat (limited to 'editors/code/src/installation/extension.ts')
-rw-r--r--editors/code/src/installation/extension.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/installation/extension.ts b/editors/code/src/installation/extension.ts
index 2022d090d..f6dd20d82 100644
--- a/editors/code/src/installation/extension.ts
+++ b/editors/code/src/installation/extension.ts
@@ -97,7 +97,7 @@ async function askToDownloadProperExtensionVersion(config: Config, reason = "")
97 * 97 *
98 * ACHTUNG!: this function has a crazy amount of state transitions, handling errors during 98 * ACHTUNG!: this function has a crazy amount of state transitions, handling errors during
99 * each of them would result in a ton of code (especially accounting for cross-process 99 * each of them would result in a ton of code (especially accounting for cross-process
100 * shared mutable `globalState` access). Enforcing reentrancy for this is best-effort. 100 * shared mutable `globalState` access). Enforcing no reentrancy for this is best-effort.
101 */ 101 */
102const tryDownloadNightlyExtension = notReentrant(async function tryDownloadNightlyExtension( 102const tryDownloadNightlyExtension = notReentrant(async function tryDownloadNightlyExtension(
103 config: Config, 103 config: Config,