Skip to content

Commit be4cb20

Browse files
committed
add state change
1 parent ce8b567 commit be4cb20

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/AWSLambdaRuntime/LambdaRuntimeClient.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,7 @@ final actor LambdaRuntimeClient: LambdaRuntimeClientProtocol {
399399
channel.closeFuture.whenComplete { result in
400400
self.assumeIsolated { runtimeClient in
401401
runtimeClient.channelClosed(channel)
402+
runtimeClient.connectionState = .lostConnection
402403
}
403404
}
404405

0 commit comments

Comments
 (0)