Skip to content

Commit 00b30a8

Browse files
niziakpvizeli
authored andcommitted
clear cmdBuffer after each command (#8)
clear cmdBuffer after each command
1 parent 374114d commit 00b30a8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/CmdCallback.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ void CmdCallbackObject::loopCmdProcessing(CmdParser * cmdParser,
2020
if (this->processCmd(cmdParser)) {
2121
// FIXME: handling cmd not found
2222
}
23+
cmdBuffer->clear();
2324
}
2425
}
2526
} while (true);

0 commit comments

Comments
 (0)