coverxit / EasyDrcom

3rd Party Dr.COM Client for HITwh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

代码结构及资源管理问题

presisco opened this issue · comments

main函数中如果使用background模式的话会产生两次线程调用,导致登录过程非常慢,而且占用额外内存。
使用的shared_ptr无法及时释放,导致在openwrt上运行时必须要重启进程才能解决认证服务器超时的问题。使用传统指针则可以正常的释放资源,不过有的时候还是得重启进程。