trying to solve memory leaks
This commit is contained in:
@ -52,7 +52,7 @@ typedef std::multiset<MonitorLocalPtr> MonitorLocalList;
|
|||||||
class ChannelLocalTrace {
|
class ChannelLocalTrace {
|
||||||
public:
|
public:
|
||||||
ChannelLocalTrace()
|
ChannelLocalTrace()
|
||||||
: channelLocalTraceLevel(0)
|
: channelLocalTraceLevel(3)
|
||||||
{}
|
{}
|
||||||
~ChannelLocalTrace(){}
|
~ChannelLocalTrace(){}
|
||||||
void setLevel(int level)
|
void setLevel(int level)
|
||||||
|
@ -121,7 +121,10 @@ int main(int argc,char *argv[])
|
|||||||
if(str.compare("exit")==0) break;
|
if(str.compare("exit")==0) break;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
channelProvider->destroy();
|
||||||
|
channelProvider.reset();
|
||||||
ctx->destroy();
|
ctx->destroy();
|
||||||
|
ctx.reset();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user