Trap exception from SockJS HeartbeatTask

Issue: SPR-15307
This commit is contained in:
Rossen Stoyanchev 2017-03-16 18:00:00 -04:00
parent ffe9bae138
commit d3324c8d4f
1 changed files with 3 additions and 0 deletions

View File

@ -455,6 +455,9 @@ public abstract class AbstractSockJsSession implements SockJsSession {
try {
sendHeartbeat();
}
catch (Throwable ex) {
// Ignore: already handled in writeFrame...
}
finally {
this.expired = true;
}