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
This commit is contained in:
Giovanni Maruzzelli 2009-11-04 10:45:46 +00:00
parent a697216119
commit b47f1f9348
1 changed files with 8 additions and 8 deletions

View File

@ -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)
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)
} 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;
} }