且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

log4net-LogicalThreadContext-和单元测试用例

更新时间:2023-02-17 07:45:23

我最终这样做是为了使其正常工作:

I ended up doing this to get it working:

将其放在TestCleanup()方法中:

put this in the TestCleanup() method:

CallContext.FreeNamedDataSlot("log4net.Util.LogicalThreadContextProperties");