Unlock lbm if repl_buffer is already set on repl command

This fixes a race condition where unlock was never called if multiple
repl commands was issued in short sequence.
This commit is contained in:
Joakim Lundborg 2024-03-20 20:15:06 +01:00
parent 362c516fed
commit df976e4268
1 changed files with 1 additions and 0 deletions

View File

@ -413,6 +413,7 @@ void lispif_process_cmd(unsigned char *data, unsigned int len,
commands_printf_lisp("Verbose errors %s", verbose_now ? "Enabled" : "Disabled");
} else {
if (repl_buffer) {
lispif_unlock_lbm();
break;
}