Revision
15344
Author
gmaruzz
Date
2009-11-04 04:45:46 -0600 (Wed, 04 Nov 2009)

Log Message

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

Modified Paths

Diff

Modified: freeswitch/trunk/src/mod/endpoints/mod_skypiax/skypiax_protocol.c (15343 => 15344)


--- freeswitch/trunk/src/mod/endpoints/mod_skypiax/skypiax_protocol.c	2009-11-04 09:52:55 UTC (rev 15343)
+++ freeswitch/trunk/src/mod/endpoints/mod_skypiax/skypiax_protocol.c	2009-11-04 10:45:46 UTC (rev 15344)
@@ -1622,8 +1622,8 @@
 		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 @@
 		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 @@
 	} 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;
 
 }