diff -r ca8a1b6995f6 -r 52e343bb8f80 memspy/Driver/Kernel/Source/MemSpyDriverLogicalChannel.cpp --- a/memspy/Driver/Kernel/Source/MemSpyDriverLogicalChannel.cpp Tue Aug 31 16:45:49 2010 +0300 +++ b/memspy/Driver/Kernel/Source/MemSpyDriverLogicalChannel.cpp Wed Sep 01 12:37:10 2010 +0100 @@ -51,10 +51,10 @@ NKern::ThreadEnterCS(); SubChannelsDestroy(); + NKern::ThreadLeaveCS(); TRACE( Kern::Printf("DMemSpyDriverLogicalChannel::~DMemSpyDriverLogicalChannel() - closing client thread...")); Kern::SafeClose( (DObject*&) iClientThread, NULL ); - NKern::ThreadLeaveCS(); TRACE( Kern::Printf("DMemSpyDriverLogicalChannel::~DMemSpyDriverLogicalChannel() - calling device to cleanup...")); MemSpyDevice().Cleanup();