Skip to content

Commit

Permalink
ref: better code performance
Browse files Browse the repository at this point in the history
  • Loading branch information
Uhutown committed Oct 15, 2024
1 parent d563f46 commit 73abc98
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ private void loadWithoutPredicate(final List<ConfigProperty> values,

private static void loadSignalAndRunTask(final SignalStateInfo info,
final SignalStateListener task) {
SignalStateHandler.loadSignal(new SignalStateLoadHoler(info, LOAD_HOLDER));
SignalStateHandler.runTaskWhenSignalLoaded(info, task);
SignalStateHandler.loadSignal(new SignalStateLoadHoler(info, LOAD_HOLDER));
}

private static void unloadSignal(final SignalStateInfo info) {
Expand Down

0 comments on commit 73abc98

Please sign in to comment.