mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 12:19:20 +00:00
@@ -1528,11 +1528,12 @@ begin
|
|||||||
begin
|
begin
|
||||||
CreateMutex('{#AppMutex}-ready');
|
CreateMutex('{#AppMutex}-ready');
|
||||||
|
|
||||||
|
Log('Checking whether application is still running...');
|
||||||
while (CheckForMutexes('{#AppMutex}')) do
|
while (CheckForMutexes('{#AppMutex}')) do
|
||||||
begin
|
begin
|
||||||
Log('Application is still running, waiting');
|
|
||||||
Sleep(1000)
|
Sleep(1000)
|
||||||
end;
|
end;
|
||||||
|
Log('Application appears not to be running.');
|
||||||
|
|
||||||
StopTunnelServiceIfNeeded();
|
StopTunnelServiceIfNeeded();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user