mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 01:58:53 +01:00
Make resolveExternalUri return just a plain uri instead of a disposable result
For #81131 We had trouble coming up with cases where extensions could actually reliably dispose of the resolved uri
This commit is contained in:
@@ -744,8 +744,7 @@ export interface IOpenUriOptions {
|
||||
export interface MainThreadWindowShape extends IDisposable {
|
||||
$getWindowVisibility(): Promise<boolean>;
|
||||
$openUri(uri: UriComponents, options: IOpenUriOptions): Promise<boolean>;
|
||||
$resolveExternalUri(uri: UriComponents, options: IOpenUriOptions): Promise<{ readonly handle: number, readonly result: UriComponents }>;
|
||||
$releaseResolvedExternalUri(handle: number): Promise<boolean>;
|
||||
$resolveExternalUri(uri: UriComponents, options: IOpenUriOptions): Promise<UriComponents>;
|
||||
}
|
||||
|
||||
// -- extension host
|
||||
|
||||
Reference in New Issue
Block a user