Closed PuTiz closed 3 years ago
` ~LockedChannelImpl() { DebugPrint(dbgmask & dbg_channel, "[id=%ld] Channel destory.", this->getId());
assert(lock_.try_lock()); }`
后边这个断言作用是什么?如果返回true那不是给锁上了吗?
重复了
` ~LockedChannelImpl() { DebugPrint(dbgmask & dbg_channel, "[id=%ld] Channel destory.", this->getId());
后边这个断言作用是什么?如果返回true那不是给锁上了吗?