1
This commit is contained in:
2022-07-17 16:03:35 +02:00
parent 9ecc520d94
commit a2b2a311d8
2 changed files with 4 additions and 0 deletions

View File

@ -12,6 +12,7 @@ void KeyEventManager::unsubscribe(KeyEventListener& listener) {
}
void KeyEventManager::broadcast(char c) {
log << TRACE << "Beginning Broadcast" << endl;
for (KeyEventListener* listener : this->listeners) {
log << TRACE << "Broadcasting " << c << " to Thread ID: " << dec << listener->thread.tid << endl;
listener->trigger(c);