Fixed if DEBUG

This commit is contained in:
David Fowler 2014-07-10 09:45:36 -07:00
parent 91b61bf6f6
commit bcb816f7d1
1 changed files with 2 additions and 2 deletions

View File

@ -482,7 +482,7 @@ namespace Microsoft.Net.WebSockets
_state = WebSocketState.Aborted;
#if DEBUG
#if DEBUG && NET45
string stackTrace = new StackTrace().ToString();
if (_closeStack == null)
{
@ -715,7 +715,7 @@ namespace Microsoft.Net.WebSockets
_state = WebSocketState.Closed;
#if DEBUG
#if DEBUG && NET45
if (_closeStack == null)
{
_closeStack = new StackTrace().ToString();