This commit is contained in:
yumoqing 2024-10-11 12:50:07 +08:00
parent ac8d773579
commit d78f62604a

View File

@ -81,7 +81,8 @@ bricks.Signaling = class {
if (!k){ if (!k){
throw 'recvdata_handler() exception(' + sessiontype + ')'; throw 'recvdata_handler() exception(' + sessiontype + ')';
} }
var handler = new k(this, data.session, this.connect_opts); var h = new k(this, data.session, this.connect_opts);
handler = h.recvdata_handler.bind(h);
} }
await handler(data); await handler(data);
} else { } else {