No issue - Add null check to send packet function in the developer tools server

This resolves some of the useless log spam thrown in the browser console by the developer tools.
This commit is contained in:
FranklinDM 2022-05-05 10:49:08 +08:00 committed by roytam1
commit 2e975416bf

View file

@ -1462,7 +1462,9 @@ DebuggerServerConnection.prototype = {
},
send(packet) {
this.transport.send(packet);
if (this.transport) {
this.transport.send(packet);
}
},
/**