简化 netlist 初始化流程

This commit is contained in:
锦恢 2025-01-02 05:31:18 +08:00
parent f2997b3bd8
commit d1276ea2e9

View File

@ -71,12 +71,7 @@ class Netlist {
console.log(opeParam.prjInfo.prjPath);
if (!this.wasm) {
const wasm = await vscode.window.withProgress({
location: vscode.ProgressLocation.Notification,
title: t('info.netlist.launch-netlist')
}, async () => {
return await this.loadWasm();
});
const wasm = await this.loadWasm();
this.wasm = wasm;
}