[asterisk-commits] pcadach: branch pcadach/chan_h323-live r42859 - /team/pcadach/chan_h323-live/...

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Sep 12 13:36:23 MST 2006


Author: pcadach
Date: Tue Sep 12 15:36:22 2006
New Revision: 42859

URL: http://svn.digium.com/view/asterisk?rev=42859&view=rev
Log:
Don't try to destroy everything - glibc/gcc probably will do destruction before us

Modified:
    team/pcadach/chan_h323-live/channels/h323/ast_h323.cpp

Modified: team/pcadach/chan_h323-live/channels/h323/ast_h323.cpp
URL: http://svn.digium.com/view/asterisk/team/pcadach/chan_h323-live/channels/h323/ast_h323.cpp?rev=42859&r1=42858&r2=42859&view=diff
==============================================================================
--- team/pcadach/chan_h323-live/channels/h323/ast_h323.cpp (original)
+++ team/pcadach/chan_h323-live/channels/h323/ast_h323.cpp Tue Sep 12 15:36:22 2006
@@ -1397,7 +1397,14 @@
 class MyH323_Shutdown {
 	public:
 	MyH323_Shutdown() { };
-	~MyH323_Shutdown() { h323_end_process(); };
+	~MyH323_Shutdown()
+	{
+		if (endPoint)
+			endPoint->RemoveGatekeeper();
+#if 0
+		h323_end_process();
+#endif
+	};
 };
 
 /** IMPLEMENTATION OF C FUNCTIONS */



More information about the asterisk-commits mailing list