MB-20054: Account for memory alloc/dealloc in unregisterBucket 25/65525/8
authorDave Rigby <daver@couchbase.com>
Tue, 5 Jul 2016 20:34:56 +0000 (21:34 +0100)
committerDave Rigby <daver@couchbase.com>
Thu, 7 Jul 2016 15:59:40 +0000 (15:59 +0000)
commita417b8f76a03bab942f5219b7ba617f6cb006d5c
tree5caeae0bf01b3f2eb190d42c82b6116d2cd194f0
parentef481d18ce30a81b65bd44adc346133bf4f5c26b
MB-20054: Account for memory alloc/dealloc in unregisterBucket

While unregistering a bucket, any memory allocations/deallocations
made should be accounted to the bucket in question.  Hence no
`onSwitchThread(NULL)` call.

Change-Id: I5c260e3aa7e2c8d1fd4ff0a1ca20f2185a7362a8
Reviewed-on: http://review.couchbase.org/65525
Well-Formed: buildbot <build@couchbase.com>
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Will Gardner <will.gardner@couchbase.com>
Reviewed-by: Jim Walker <jim@couchbase.com>
src/executorpool.cc