Commit 6c5d5a15 authored by Michael Ritter's avatar Michael Ritter
Browse files

Ensure the NDC log gets popped and removed

parent ba92b7b1
......@@ -221,12 +221,15 @@ class ImmediateTokenRequestBatch extends Thread implements TokenRequestBatch
catch ( Exception e )
{
callback.unexpectedException(e);
} finally {
print.info("Stopped");
NDC.pop();
NDC.remove();
}
// finally
// {
// lock.unlock();
// }
print.info("Stopped");
}
}
......@@ -294,8 +294,10 @@ public class TokenValidator extends Thread
finally
{
lock.unlock();
print.info("Stopped");
NDC.pop();
NDC.remove();
}
print.info("Stopped");
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment