Skip to content

Commit 8b56160

Browse files
committed
queueMicrotask -> setTimeout
1 parent 28ae1e0 commit 8b56160

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/api/browser/mainThreadTerminalShellIntegration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export class MainThreadTerminalShellIntegration extends Disposable implements Ma
7070
const instanceId = e.instance.instanceId;
7171
instanceDataListeners.get(instanceId)?.dispose();
7272
// Send end in a microtask to ensure the data events are sent first
73-
queueMicrotask(() => {
73+
setTimeout(() => {
7474
this._proxy.$shellExecutionEnd(instanceId, e.data.command, convertToExtHostCommandLineConfidence(e.data), e.data.isTrusted, e.data.exitCode);
7575
});
7676
}));

0 commit comments

Comments
 (0)