There seems to be a bug in SDK 2.1 when using Digia's EUnit v.2.1 for unit testing. Closing Symbian SocketServer does not close all resources causing the following item in the report:
<resourceleak>
<scope>teardown</scope>
<resource>
<resourcename>Thread handle count</resourcename>
<before>5</before>
<after>6</after>
</resource>
</resourceleak>


This problem does not exist with SDK 2.0.
Anyone having this problem too? I was just wondering if there's a way to fix this other than using SDK 2.0 where it works :)