提交 50a7231b 编写于 作者: A Alex Ross

Revert "Freeze uris before trying to resolveExternalUri"

This reverts commit e8793a8e.

Fixes https://github.com/microsoft/vscode/issues/89624
上级 acf29319
......@@ -14,7 +14,6 @@ import { ICodeEditorService } from 'vs/editor/browser/services/codeEditorService
import { CommandsRegistry, ICommandService } from 'vs/platform/commands/common/commands';
import { IOpener, IOpenerService, IValidator, IExternalUriResolver, OpenOptions, ResolveExternalUriOptions, IResolvedExternalUri, IExternalOpener, matchesScheme } from 'vs/platform/opener/common/opener';
import { EditorOpenContext } from 'vs/platform/editor/common/editor';
import { deepFreeze } from 'vs/base/common/objects';
class CommandOpener implements IOpener {
......@@ -164,7 +163,6 @@ export class OpenerService implements IOpenerService {
}
async resolveExternalUri(resource: URI, options?: ResolveExternalUriOptions): Promise<IResolvedExternalUri> {
deepFreeze(resource);
for (const resolver of this._resolvers.toArray()) {
const result = await resolver.resolveExternalUri(resource, options);
if (result) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册