mirror of
https://gitee.com/kekingcn/file-online-preview.git
synced 2025-10-24 01:39:08 +08:00
优化:增加Office进程关闭日志
This commit is contained in:
@@ -21,11 +21,8 @@ import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.time.Duration;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Properties;
|
||||
|
||||
@@ -143,6 +140,7 @@ public class OfficePluginManager {
|
||||
@PreDestroy
|
||||
public void destroyOfficeManager(){
|
||||
if (null != officeManager && officeManager.isRunning()) {
|
||||
logger.info("Shutting down office process");
|
||||
officeManager.stop();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user