Skip to content

Commit

Permalink
Fix SandHook and close #662
Browse files Browse the repository at this point in the history
  • Loading branch information
kotori2 committed Dec 11, 2020
1 parent 9c0a5d6 commit e95344a
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,6 @@ public static synchronized void hook(HookWrapper.HookEntity entity) throws HookE
if (SandHookConfig.delayHook && PendingHookHandler.canWork() && ClassStatusUtils.isStaticAndNoInited(entity.target)) {
PendingHookHandler.addPendingHook(entity);
return;
} else if (entity.initClass) {
resolveStaticMethod(target);
}

resolveStaticMethod(backup);
Expand Down

0 comments on commit e95344a

Please sign in to comment.