https://issues.apache.org/bugzilla/show_bug.cgi?id=50486

--- Comment #15 from Maarten Bosteels <[email protected]> 2012-03-07 22:04:33 
UTC ---
Created attachment 28436
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=28436
clear the MDC when last key is removed + testcase

I agree that remove() should call clear when the last key was removed for the
reason described by [email protected] 

I have attached a trivial fix and a small test-case with a simplified version
of the code that tomcat uses to check for memory leaks.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to