Skip to content

Commit

Permalink
fixed testes
Browse files Browse the repository at this point in the history
  • Loading branch information
kristwel committed Apr 20, 2026
1 parent 852edfb commit 4f0e826
Showing 1 changed file with 8 additions and 1 deletion.
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

0 comments on commit 4f0e826

Please sign in to comment.