eliminate async race condition from prompts by not nulling input/callback, prevents erroring when sending messages fast

This commit is contained in:
Cynthia Foxwell 2022-09-04 10:44:33 -06:00
parent 1b86352f69
commit 145a163e53
1 changed files with 0 additions and 3 deletions

View File

@ -14,9 +14,6 @@ async function finalizePrompt() {
const input = comcord.state.promptInput.trim();
await comcord.state.promptCallback(input);
comcord.state.promptInput = null;
comcord.state.promptCallback = null;
}
module.exports = {