summaryrefslogtreecommitdiff
path: root/net/asterisk16/files/patch-channels::h323::ast_h323.cxx
blob: bfc8194521286d1a6b4961771e229f10c92317dc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- channels/h323/ast_h323.cxx.orig	2008-04-08 15:08:37.000000000 +0300
+++ channels/h323/ast_h323.cxx	2008-04-08 15:08:51.000000000 +0300
@@ -81,8 +81,6 @@
 /** PWLib entry point */
 static MyProcess *localProcess = NULL;
 
-static int _timerChangePipe[2];
-
 static unsigned traceOptions = PTrace::Timestamp | PTrace::Thread | PTrace::FileAndLine;
 
 class PAsteriskLog : public PObject, public iostream {
@@ -191,8 +189,6 @@
 
 MyProcess::~MyProcess()
 {
-	_timerChangePipe[0] = timerChangePipe[0];
-	_timerChangePipe[1] = timerChangePipe[1];
 }
 
 void MyProcess::Main()
@@ -2460,8 +2456,6 @@
 	if (localProcess) {
 		delete localProcess;
 		localProcess = NULL;
-		close(_timerChangePipe[0]);
-		close(_timerChangePipe[1]);
 	}
 	if (logstream) {
 		PTrace::SetLevel(0);