mirror of https://gitee.com/y_project/RuoYi.git
修复War部署无法正常shutdown,ehcache内存泄漏
Signed-off-by: zhanliquan <zhanliquanit@foxmail.com>pull/144/head
parent
005418e065
commit
080237cabf
|
@ -1,6 +1,7 @@
|
|||
package com.ruoyi.framework.manager;
|
||||
|
||||
import com.ruoyi.framework.shiro.web.session.SpringSessionValidationScheduler;
|
||||
import net.sf.ehcache.CacheManager;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
@ -25,6 +26,7 @@ public class ShutdownManager
|
|||
{
|
||||
shutdownSpringSessionValidationScheduler();
|
||||
shutdownAsyncManager();
|
||||
CacheManager.getCacheManager("ruoyi").shutdown();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue