diff Implab/AbstractEvent.cs @ 253:34df34841225 v3 v3.0.1-beta

Implab.Diagnostics drafts
author cin
date Mon, 12 Feb 2018 17:03:37 +0300
parents 5cb4826c2c2a
children
line wrap: on
line diff
--- a/Implab/AbstractEvent.cs	Mon Feb 12 07:24:31 2018 +0300
+++ b/Implab/AbstractEvent.cs	Mon Feb 12 17:03:37 2018 +0300
@@ -62,7 +62,7 @@
             if (TransitionalState != Interlocked.CompareExchange(ref m_state, ResolvedState, TransitionalState))
                 throw new InvalidOperationException("Can't complete transition when the object isn't in the transitional state");
 #else
-            m_state = state;
+            m_state = ResolvedState;
 #endif
             Signal();
         }