Show protocol name when it is terminated (easier for debugging)
This commit is contained in:
parent
14b401b54e
commit
22c755a328
@ -305,6 +305,8 @@ void ProtocolManager::terminateProtocol(std::shared_ptr<Protocol> protocol)
|
||||
opt.unlock();
|
||||
protocol->setState(PROTOCOL_STATE_TERMINATED);
|
||||
protocol->terminated();
|
||||
Log::info("ProtocolManager",
|
||||
"A %s protocol has been terminated.", typeid(*protocol).name());
|
||||
} // terminateProtocol
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user