Skip to content

Commit

Permalink
Merge pull request #372 from hc2088/f-onloaderror
Browse files Browse the repository at this point in the history
修复onLoad方法异步调用问题
  • Loading branch information
Alzzzz authored Nov 24, 2023
2 parents 0db9d52 + 4aeded2 commit 2cc20e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fair/lib/src/runtime/runtime_fair_delegate.dart
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ abstract class RuntimeFairDelegate {
}

void didChangeDependencies() {
runtime?.invokeMethod(pageName, 'onLoad', null);
runtime?.invokeMethodSync(pageName, 'onLoad', null);
}

void dispose() {
Expand Down

0 comments on commit 2cc20e9

Please sign in to comment.