Browse Source

Fix minor inconsistency.

Tim Burks 9 years ago
parent
commit
583b9651bf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Sources/gRPC/CountDownLatch.swift

+ 1 - 1
Sources/gRPC/CountDownLatch.swift

@@ -45,7 +45,7 @@ public class CountDownLatch {
   }
 
   public func signal() {
-    condition.lock()
+    self.condition.lock()
     self.count = self.count - 1
     self.condition.signal()
     self.condition.unlock()