提交 b47f1f93 authored 作者: Giovanni Maruzzelli's avatar Giovanni Maruzzelli

skypiax: commented out 'XCloseDisplay' lines, seems to cause crashes...

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15344 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 a6972161
...@@ -1622,8 +1622,8 @@ void *skypiax_do_skypeapi_thread_func(void *obj) ...@@ -1622,8 +1622,8 @@ void *skypiax_do_skypeapi_thread_func(void *obj)
if (!skypiax_send_message(tech_pvt, buf)) { if (!skypiax_send_message(tech_pvt, buf)) {
ERRORA("Sending message failed - probably Skype crashed. Please run/restart Skype manually and launch Skypiax again\n", SKYPIAX_P_LOG); ERRORA("Sending message failed - probably Skype crashed. Please run/restart Skype manually and launch Skypiax again\n", SKYPIAX_P_LOG);
running = 0; running = 0;
if(disp) //if(disp)
XCloseDisplay(disp); //XCloseDisplay(disp);
return NULL; return NULL;
} }
...@@ -1631,8 +1631,8 @@ void *skypiax_do_skypeapi_thread_func(void *obj) ...@@ -1631,8 +1631,8 @@ void *skypiax_do_skypeapi_thread_func(void *obj)
if (!skypiax_send_message(tech_pvt, buf)) { if (!skypiax_send_message(tech_pvt, buf)) {
ERRORA("Sending message failed - probably Skype crashed. Please run/restart Skype manually and launch Skypiax again\n", SKYPIAX_P_LOG); ERRORA("Sending message failed - probably Skype crashed. Please run/restart Skype manually and launch Skypiax again\n", SKYPIAX_P_LOG);
running = 0; running = 0;
if(disp) //if(disp)
XCloseDisplay(disp); //XCloseDisplay(disp);
return NULL; return NULL;
} }
...@@ -1732,13 +1732,13 @@ void *skypiax_do_skypeapi_thread_func(void *obj) ...@@ -1732,13 +1732,13 @@ void *skypiax_do_skypeapi_thread_func(void *obj)
} else { } else {
ERRORA("Skype is not running, maybe crashed. Please run/restart Skype and relaunch Skypiax\n", SKYPIAX_P_LOG); ERRORA("Skype is not running, maybe crashed. Please run/restart Skype and relaunch Skypiax\n", SKYPIAX_P_LOG);
running = 0; running = 0;
if(disp) //if(disp)
XCloseDisplay(disp); //XCloseDisplay(disp);
return NULL; return NULL;
} }
//running = 0; //running = 0;
if(disp) //if(disp)
XCloseDisplay(disp); //XCloseDisplay(disp);
return NULL; return NULL;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论