1

update demos for nice_kill

This commit is contained in:
2022-07-22 21:39:22 +02:00
parent 4e584546a0
commit adeaaa6edd
16 changed files with 40 additions and 56 deletions

View File

@ -12,13 +12,11 @@ private:
KeyEventListener listener;
public:
MainMenu() : listener(this->tid) {
log << INFO << "MainMenu initialized with ID: " << dec << this->tid << endl;
MainMenu() : Thread("MainMenu"), listener(this->tid) {
kevman.subscribe(this->listener);
}
~MainMenu() override {
log << INFO << "Unitialized MainMenu" << endl;
kevman.unsubscribe(this->listener);
}