Skip to content

Commit ac150b6

Browse files
author
duwen
committed
merge
1 parent e83df51 commit ac150b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dsbridge/src/main/java/wendu/dsbridge/DWebView.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ public synchronized <T> void callHandler(String method, Object[] args, final OnR
515515

516516
CallInfo callInfo = new CallInfo(method, ++callID, args);
517517
if (handler != null) {
518-
handlerMap.put(++callID, handler);
518+
handlerMap.put(callInfo.callbackId, handler);
519519
}
520520

521521
if (callInfoList != null) {

0 commit comments

Comments
 (0)