if (table != null && table.isEmpty()) {
tables.remove(new TableId(tableId));
Table tableInfo = table.getShortTableInformation();
table.terminate();
for (LobbyListener listener : lobbyListeners) {
listener.onTableRemoved(new TableRemovedEvent(tableInfo));
}
}
// TODO Concurrency issue: after removal joining table.
}