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 {
|
||||
msg = JSON.parse(msgraw);
|
||||
} catch {
|
||||
this.emit("qmpreturn", '');
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -150,4 +151,4 @@ export default class QMPClient extends EventEmitter {
|
||||
res(await this.execute({execute: "human-monitor-command", arguments: {"command-line": command}}));
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user