mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-11 02:32:35 -05:00
This reverts commit d15a3fcc98.
This commit is contained in:
@@ -239,10 +239,10 @@ export class Win32UpdateService extends AbstractUpdateService {
|
||||
});
|
||||
|
||||
const readyMutexName = `${product.win32MutexName}-ready`;
|
||||
const mutex = await import('windows-mutex');
|
||||
const isActive = (require.__$__nodeRequire('windows-mutex') as any).isActive;
|
||||
|
||||
// poll for mutex-ready
|
||||
pollUntil(() => mutex.isActive(readyMutexName))
|
||||
pollUntil(() => isActive(readyMutexName))
|
||||
.then(() => this.setState(State.Ready(update)));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user