Commit f4609026 authored by martin hou's avatar martin hou

fix: 有进行中的消息进行全排除处理

parent ccb6b549
...@@ -262,6 +262,7 @@ function Jensen(log, conn) { ...@@ -262,6 +262,7 @@ function Jensen(log, conn) {
}; };
this.send = function (cmd, seconds, onprogress) { this.send = function (cmd, seconds, onprogress) {
if (current) return null;
cmd.sequence(sequence++); cmd.sequence(sequence++);
cmd.onprogress = onprogress; cmd.onprogress = onprogress;
if (seconds) cmd.expireAfter(seconds); if (seconds) cmd.expireAfter(seconds);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment