mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-19 17:58:17 +08:00
update 优化 sse 关闭连接各种异常问题
This commit is contained in:
parent
c66b7098bb
commit
b0d1a7a7a6
@ -46,7 +46,7 @@ public class SseEmitterManager {
|
||||
if (emitters != null) {
|
||||
try {
|
||||
emitters.get(token).send(SseEmitter.event().comment("disconnected"));
|
||||
} catch (IOException ignore) {
|
||||
} catch (Exception ignore) {
|
||||
}
|
||||
emitters.remove(token);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user