Skip to content

fixed test #56

Merged
merged 1 commit into from
Apr 20, 2026
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -244,11 +244,18 @@ public void listenToRoundAnswerCount(String sessionId, int roundIndex,

@Override
public void clearAnswers(String sessionId, SimpleCallback callback) {
Map<String, Map<String, Boolean>> sessionAnswers = answers.get(sessionId);
Map<Integer, Set<String>> sessionAnswers = answers.get(sessionId);
if (sessionAnswers != null) sessionAnswers.clear();
callback.onSuccess();
}

@Override
public void stopAllListeners() {
playerListeners.clear();
stateListeners.clear();
answerCountListeners.clear();
}

// =========================================================================
// Internal helpers
// =========================================================================
Expand Down
Loading