mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 12:04:04 +01:00
fixes #66878
This commit is contained in:
@@ -1167,8 +1167,3 @@ export function animate(fn: () => void): IDisposable {
|
||||
let stepDisposable = scheduleAtNextAnimationFrame(step);
|
||||
return toDisposable(() => stepDisposable.dispose());
|
||||
}
|
||||
|
||||
export function timeout(fn: () => void, millis: number): IDisposable {
|
||||
const timer = setTimeout(fn, millis);
|
||||
return toDisposable(() => clearTimeout(timer));
|
||||
}
|
||||
Reference in New Issue
Block a user