Skip to content

Commit

Permalink
修改 reload 时间,避免可能的多线程问题
Browse files Browse the repository at this point in the history
  • Loading branch information
TartaricAcid committed Jan 22, 2025
1 parent 0874456 commit 9dab03c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@ private static void reloadAllPack() {

@Override
protected Void prepare(ResourceManager pResourceManager, ProfilerFiller pProfiler) {
reloadAllPack();
return null;
}

@Override
protected void apply(Void pObject, ResourceManager pResourceManager, ProfilerFiller pProfiler) {
reloadAllPack();
}
}

0 comments on commit 9dab03c

Please sign in to comment.