Skip to content

Commit

Permalink
Remove print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Thiebaud committed May 22, 2018
1 parent 4ca615a commit ad6e022
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Sources/SwiftGRPC/Core/Channel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,7 @@ private extension Channel {
guard let `self` = self else { return }

while true {
guard let underlyingState = self.lastState.underlyingState else {
print("Couldn't retrieve `underlyingState`")
return
}
guard let underlyingState = self.lastState.underlyingState else { return }

let deadline: TimeInterval = 0.2
cgrpc_channel_watch_connectivity_state(self.underlyingChannel, self.underlyingCompletionQueue, underlyingState, deadline, nil)
Expand All @@ -157,7 +154,6 @@ private extension Channel {
case .queueShutdown:
return
default:
print("Event's completion type is `unknown`")
continue
}
}
Expand Down

0 comments on commit ad6e022

Please sign in to comment.