From b47f1f9348555c38305a62f51550d29a643649ab Mon Sep 17 00:00:00 2001 From: Giovanni Maruzzelli Date: Wed, 4 Nov 2009 10:45:46 +0000 Subject: [PATCH] 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 --- src/mod/endpoints/mod_skypiax/skypiax_protocol.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/mod/endpoints/mod_skypiax/skypiax_protocol.c b/src/mod/endpoints/mod_skypiax/skypiax_protocol.c index 4707a92d70..6c1bfac7fb 100644 --- a/src/mod/endpoints/mod_skypiax/skypiax_protocol.c +++ b/src/mod/endpoints/mod_skypiax/skypiax_protocol.c @@ -1622,8 +1622,8 @@ void *skypiax_do_skypeapi_thread_func(void *obj) 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); running = 0; - if(disp) - XCloseDisplay(disp); + //if(disp) + //XCloseDisplay(disp); return NULL; } @@ -1631,8 +1631,8 @@ void *skypiax_do_skypeapi_thread_func(void *obj) 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); running = 0; - if(disp) - XCloseDisplay(disp); + //if(disp) + //XCloseDisplay(disp); return NULL; } @@ -1732,13 +1732,13 @@ void *skypiax_do_skypeapi_thread_func(void *obj) } else { ERRORA("Skype is not running, maybe crashed. Please run/restart Skype and relaunch Skypiax\n", SKYPIAX_P_LOG); running = 0; - if(disp) - XCloseDisplay(disp); + //if(disp) + //XCloseDisplay(disp); return NULL; } //running = 0; - if(disp) - XCloseDisplay(disp); + //if(disp) + //XCloseDisplay(disp); return NULL; }