how am I this retarded
This commit is contained in:
parent
1adac4f982
commit
76d7e70ce6
1 changed files with 1 additions and 1 deletions
|
@ -101,11 +101,11 @@ export default class VM {
|
||||||
var msg = msgpack.decode(this.#currentChunk!) as protocol.ProtocolMessage;
|
var msg = msgpack.decode(this.#currentChunk!) as protocol.ProtocolMessage;
|
||||||
if (this.#nopTimeout) clearTimeout(this.#nopTimeout);
|
if (this.#nopTimeout) clearTimeout(this.#nopTimeout);
|
||||||
this.#nopTimeout = setTimeout(() => this.#nopTimeoutFunc(), 5000);
|
this.#nopTimeout = setTimeout(() => this.#nopTimeoutFunc(), 5000);
|
||||||
|
this.#noNop = false;
|
||||||
if (!this.isConnectedToVM) {
|
if (!this.isConnectedToVM) {
|
||||||
log("INFO", `Got connection to VM at ${this.#id}`);
|
log("INFO", `Got connection to VM at ${this.#id}`);
|
||||||
if (this.#messageQueue.size > 0) this.messageQueueLoop();
|
if (this.#messageQueue.size > 0) this.messageQueueLoop();
|
||||||
this.isConnectedToVM = true;
|
this.isConnectedToVM = true;
|
||||||
this.#noNop = false;
|
|
||||||
}
|
}
|
||||||
switch (msg.Operation) {
|
switch (msg.Operation) {
|
||||||
case protocol.ProtocolOperation.ACK:
|
case protocol.ProtocolOperation.ACK:
|
||||||
|
|
Loading…
Reference in a new issue