feat: better edge case handling

This commit is contained in:
pk5ls20 committed 2024-11-05 22:11:01 +08:00
1 parent 6f79cac414
commit a01cbe2314
2 files changed
+15 -6

No files matched your search

+1 -1
View File
@@ -51,7 +51,7 @@ export class NativePacketClient extends PacketClient {
//此时为recv 调用callback
const trace_id = this.sendEvent.get(seq);
const callback = this.cb.get(trace_id + 'recv');
console.log('callback:', callback, trace_id);
// console.log('callback:', callback, trace_id);
callback?.({ seq, cmd, hex_data });
}