Fix critical redis server shutdown bug
This commit is contained in:
parent
cfc8ceb2ec
commit
00dd267d72
@ -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();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user