From 6850c896bfc72c26e67baddbcd7cf4eacdc3b471 Mon Sep 17 00:00:00 2001 From: John Lampitt Adey Date: Tue, 20 Mar 2018 17:53:10 +0000 Subject: [PATCH] Missing semicolon in code exampl Code example in circuit-breaker.md Line 212 missing semicolon --- docs/patterns/circuit-breaker.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/patterns/circuit-breaker.md b/docs/patterns/circuit-breaker.md index 583324a5b90..90e27026a5e 100644 --- a/docs/patterns/circuit-breaker.md +++ b/docs/patterns/circuit-breaker.md @@ -209,7 +209,7 @@ Additionally, it uses a lock to prevent the circuit breaker from trying to perfo bool lockTaken = false; try { - Monitor.TryEnter(halfOpenSyncObject, ref lockTaken) + Monitor.TryEnter(halfOpenSyncObject, ref lockTaken); if (lockTaken) { // Set the circuit breaker state to HalfOpen.