mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-22 20:56:39 +00:00
nuke file descriptor leak..You don't need a whole new thread to hang up a friggen call
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1890 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -330,23 +330,3 @@ class MyProcess : public PProcess {
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* This class handles the termination of a call.
|
||||
* Note that OpenH323 Library requires that the termination
|
||||
* of a call should be done inside a separate thread of execution.
|
||||
*/
|
||||
class ClearCallThread : public PThread {
|
||||
|
||||
PCLASSINFO(ClearCallThread, PThread);
|
||||
|
||||
public:
|
||||
ClearCallThread(const char *tc);
|
||||
~ClearCallThread();
|
||||
|
||||
void Main();
|
||||
|
||||
protected:
|
||||
PString token;
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user