Skip to content

Commit

Permalink
修复问题 #194
Browse files Browse the repository at this point in the history
  • Loading branch information
oldmanpushcart committed Aug 25, 2022
1 parent 58f35c5 commit 9c113b6
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,10 @@ private Spy.Ret handleOnEnd(final int listenerId,
// 2. super.<init>
// 处理方式是直接返回,不做任何事件的处理和代码流程的改变,放弃对super.<init>的观察,可惜了
if (process.isEmptyStack()) {

// 修复 #194 问题
wrap.processRef.remove();

return newInstanceForNone();
}

Expand Down Expand Up @@ -615,7 +619,7 @@ public void checkEventProcessor(final int... listenerIds) {

// ----------------------------------- 单例模式 -----------------------------------

private static EventListenerHandler singleton = new EventListenerHandler();
private final static EventListenerHandler singleton = new EventListenerHandler();

public static EventListenerHandler getSingleton() {
return singleton;
Expand Down

0 comments on commit 9c113b6

Please sign in to comment.