mirror of
https://github.com/ttttupup/wxhelper.git
synced 2024-11-05 09:59:23 +08:00
暂时不关闭hook信息
This commit is contained in:
parent
a94dfa9f71
commit
1aa7182a9a
@ -150,9 +150,8 @@ public class InitWeChat implements CommandLineRunner {
|
||||
}
|
||||
|
||||
});
|
||||
Runtime.getRuntime().addShutdownHook(new Thread(() -> {
|
||||
HttpSyncUtil.exec(HttpAsyncUtil.Type.关闭hook, new JsonObject());
|
||||
}));
|
||||
// FIXME: 2023/6/2 程序结束后关闭hook会偶尔出现微信闪退情况,暂时禁用
|
||||
// Runtime.getRuntime().addShutdownHook(new Thread(HttpSendUtil::关闭hook));
|
||||
//netstat -aon|findstr "端口号"
|
||||
// c.exe -I 4568 -p D:\exec\wxhelper.dll -m 4568
|
||||
}
|
||||
|
@ -32,6 +32,10 @@ class HttpSendUtilTest {
|
||||
void 开启hook() {
|
||||
|
||||
}
|
||||
@Test
|
||||
void 关闭ook() {
|
||||
HttpSendUtil.关闭hook();
|
||||
}
|
||||
|
||||
@Test
|
||||
void 获取群成员() {
|
||||
|
Loading…
Reference in New Issue
Block a user