Open ByteXiaoTang opened 3 years ago
the CBaseLoopTimer may has problem. 程序有需求,消息来时创建timer指针,得到回复之后就delete指针。 这样来回new和delete大概几百次之后,就会引起程序cordump.
同样的手法,用boost库的timer不会有问题
前提是将timer放在了一个map中
the CBaseLoopTimer may has problem. 程序有需求,消息来时创建timer指针,得到回复之后就delete指针。 这样来回new和delete大概几百次之后,就会引起程序cordump.