Fix critical redis server shutdown bug
This commit is contained in:
parent
efab085c47
commit
12ce69d68f
@ -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