Fix critical redis server shutdown bug

This commit is contained in:
Govindas 2020-10-23 17:48:22 +03:00
parent cfc8ceb2ec
commit 00dd267d72
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ public class RedisManager extends BinaryJedisPubSub implements Runnable {
if (this.subscribeJedis != null) { if (this.subscribeJedis != null) {
this.unsubscribe(); this.unsubscribe();
this.subscribeJedis.close(); this.subscribeJedis.close();
this.subscribeJedis.shutdown(); this.jedisPool.getResource().close();
} }
this.RedisService.shutdown(); this.RedisService.shutdown();