Skip to content

Commit cda2045

Browse files
committed
SEBSP-218 evict cache on session close
1 parent 0322d03 commit cda2045

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/ch/ethz/seb/sps/server/servicelayer/impl/SessionServiceImpl.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ public void closeSession(final String sessionUUID) {
150150
final String groupUUID = this.groupDAO.byPK(session.groupId).getOrThrow().uuid;
151151
this.proctoringCacheService.evictSession(sessionUUID);
152152
this.proctoringCacheService.evictSessionTokens(groupUUID);
153+
this.proctoringCacheService.evictSessionScreenshotData(sessionUUID);
153154
} else {
154155
result.getOrThrow();
155156
}

0 commit comments

Comments
 (0)