LINUX SDK 连续使用接通和挂断,会出现程序崩溃?
//挂断通行使用
if (voip_status == WX_VOIP_SESSION_TALKING) {
wx_voip_session_hangup(session, WX_VOIP_HANGUP_REASON_MANUAL);
}
wx_voip_session_destroy(session);
wx_stop();
[17:01:05.393][E][WMPF][base/memory/memory_leak_detection.cc:64][CheckMemoryLeak]: Detected memory leak: wx_operation, leak objects: 1 [17:09:49.381][E][WMPF][base/memory/memory_leak_detection.cc:64][CheckMemoryLeak]: Detected memory leak: wx_operation, leak objects: 2 [17:10:09.666][E][WMPF][base/memory/memory_leak_detection.cc:64][CheckMemoryLeak]: Detected memory leak: wx_operation, leak objects: 3 如果开启数据发送,第二次启动会话会直接崩溃,不发送数据,每次建立连接和挂断链接会出现如上log。