send nop on start
This commit is contained in:
parent
5d791150b0
commit
028f0f1f66
1 changed files with 3 additions and 0 deletions
|
@ -28,6 +28,9 @@ export default class VM {
|
||||||
this.#socket.on('connect', () => {
|
this.#socket.on('connect', () => {
|
||||||
this.connected = true;
|
this.connected = true;
|
||||||
log("INFO", `Connected to VM at ${socketpath}`);
|
log("INFO", `Connected to VM at ${socketpath}`);
|
||||||
|
this.#enqueueMessage({
|
||||||
|
Operation: protocol.ProtocolOperation.NOP
|
||||||
|
});
|
||||||
});
|
});
|
||||||
this.#socket.on('data', (data) => this.#onData(data));
|
this.#socket.on('data', (data) => this.#onData(data));
|
||||||
this.#events = new EventEmitter();
|
this.#events = new EventEmitter();
|
||||||
|
|
Loading…
Reference in a new issue