优化:增加Office进程关闭日志

This commit is contained in:
陈精华 2021-07-06 09:10:19 +08:00
parent fcdefa450c
commit 0854317cc8
1 changed files with 1 additions and 3 deletions

View File

@ -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();
}
}