mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 09:08:53 +01:00
Bail out of create process if it's been disposed
This is likely the cause of several terminal test issues we've been seeing, especially on remote. When process creation becomes async, the process seems to hang around if the terminal was disposed during the process creation. Another thing to consider if env var relaunches messing with tests.
This commit is contained in:
@@ -103,6 +103,11 @@ import { assertNoRpc } from '../utils';
|
||||
}));
|
||||
terminal.dispose();
|
||||
});
|
||||
|
||||
// Wait for end of task process
|
||||
// await new Promise<void>(r => {
|
||||
// disposables.push(tasks.onDidEndTaskProcess(() => r));
|
||||
// });
|
||||
});
|
||||
|
||||
test('sync CustomExecution task should flush all data on close', async () => {
|
||||
|
||||
Reference in New Issue
Block a user