]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Make AsyncJob emit both constructed and destructed messages
authorAmos Jeffries <squid3@treenet.co.nz>
Sat, 17 Jul 2010 08:15:08 +0000 (20:15 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 17 Jul 2010 08:15:08 +0000 (20:15 +1200)
src/base/AsyncJob.cc

index 11efc212ad92f1fe350c2035ba7b18cf61b76bf5..25f3b9099e66491bf0b51e98ecf39d837139c9ce 100644 (file)
@@ -27,6 +27,8 @@ AsyncJob::AsyncJob(const char *aTypeName): typeName(aTypeName), inCall(NULL), id
 
 AsyncJob::~AsyncJob()
 {
+    debugs(93,3, "AsyncJob of type " << typeName << " destructed, this=" << this <<
+           " [async" << id << ']');
 }
 
 void AsyncJob::noteStart()