summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsongyanchao <[email protected]>2023-02-17 09:42:43 +0000
committersongyanchao <[email protected]>2023-02-17 09:42:43 +0000
commitfa28206e01e2324fdf01769be3897e6f5910be03 (patch)
tree7da20be2155844920fd0cbf40db0be542a4e61e8
parent06aee2ce41443efec56255732e40f9428d265282 (diff)
🎈 perf: 修复“systemctl stop”响应时间过长问题v4.5.6-20230217
修复“systemctl stop”响应时间过长问题
-rw-r--r--service/src/core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/service/src/core.c b/service/src/core.c
index bf3aec0..4e62938 100644
--- a/service/src/core.c
+++ b/service/src/core.c
@@ -987,8 +987,8 @@ int main(int argc, char * argv[])
MR_WARNING("Hardware File %s is not existed. ", sc->local_hwfile);
}
- signal(SIGINT, signal_handler);
- signal(SIGTERM, signal_handler);
+ // signal(SIGINT, signal_handler);
+ // signal(SIGTERM, signal_handler);
if (phydev_early_init(sc) != RT_SUCCESS)
{