scrope 发表于 2021-08-31 11:38
Tags:hook
请教一下进程关闭时的回调函数怎么实现?
ctor那样的?
用signal
感谢分享,目前没有纯Rust的实现是吧?
-- 👇 open-trade: https://github.com/rustdesk/rustdesk/blob/bb25964307a87064cb2600f00dbeece0f0f78785/src/server/input_service.rs#L222
https://github.com/rustdesk/rustdesk/blob/bb25964307a87064cb2600f00dbeece0f0f78785/src/server/input_service.rs#L222
评论区
写评论ctor那样的?
用signal
感谢分享,目前没有纯Rust的实现是吧?
--
👇
open-trade: https://github.com/rustdesk/rustdesk/blob/bb25964307a87064cb2600f00dbeece0f0f78785/src/server/input_service.rs#L222
https://github.com/rustdesk/rustdesk/blob/bb25964307a87064cb2600f00dbeece0f0f78785/src/server/input_service.rs#L222