mirror of
https://github.com/microsoft/vscode.git
synced 2026-06-02 21:55:33 +01:00
adopt new module locations (#177472)
Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
This commit is contained in:
@@ -1225,7 +1225,7 @@ export class CodeApplication extends Disposable {
|
||||
const win32MutexName = this.productService.win32MutexName;
|
||||
if (isWindows && win32MutexName) {
|
||||
try {
|
||||
const WindowsMutex = await import('windows-mutex');
|
||||
const WindowsMutex = await import('@vscode/windows-mutex');
|
||||
const mutex = new WindowsMutex.Mutex(win32MutexName);
|
||||
once(this.lifecycleMainService.onWillShutdown)(() => mutex.release());
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user