No more QMP deadlocks? It's more likely than you think.
This commit is contained in:
@@ -52,6 +52,7 @@ export default class QMPClient extends EventEmitter {
|
|||||||
try {
|
try {
|
||||||
msg = JSON.parse(msgraw);
|
msg = JSON.parse(msgraw);
|
||||||
} catch {
|
} catch {
|
||||||
|
this.emit("qmpreturn", '');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -150,4 +151,4 @@ export default class QMPClient extends EventEmitter {
|
|||||||
res(await this.execute({execute: "human-monitor-command", arguments: {"command-line": command}}));
|
res(await this.execute({execute: "human-monitor-command", arguments: {"command-line": command}}));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user