We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcfd81b commit a41fe56Copy full SHA for a41fe56
Sources/NIORedis/NIORedisConnection.swift
@@ -12,7 +12,7 @@ public final class NIORedisConnection {
12
13
private let channel: Channel
14
15
- deinit { assert(!isClosed.load(), "Redis connection was not properly shut down!") }
+ deinit { assert(isClosed.load(), "Redis connection was not properly shut down!") }
16
17
/// Creates a new connection on the provided channel, using the handler for executing commands.
18
/// - Important: Call `close()` before deinitializing to properly cleanup resources!
0 commit comments