Skip to content

Commit 4b7198a

Browse files
committed
set fixed
1 parent 978cc6b commit 4b7198a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

umd/src/System.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -171,12 +171,13 @@ class System {
171171

172172
const set = setters[index++];
173173

174+
iterator.linkExports(set);
175+
174176
if (iterator.isResolved) {
175177
set(iterator.getExports());
176178
continue;
177179
}
178180

179-
iterator.linkExports(set);
180181
if (iterator.isDependentOn(module)) {
181182
isCircularDependency = true;
182183
continue;
@@ -190,11 +191,10 @@ class System {
190191
}
191192

192193
const rp = r.execute() as any;
193-
module.isResolved = true;
194194
if (rp?.then) {
195195
await rp;
196196
}
197-
197+
module.isResolved = true;
198198
module.getExports();
199199
if (module.postExports) {
200200
module.postExports();

0 commit comments

Comments
 (0)