You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-04 15:02:09 +03:00
chore: minor refactoring
This commit is contained in:
@@ -70,7 +70,7 @@ Multi.prototype.monitor = function monitor () {
|
||||
function quitCallback (client) {
|
||||
return function (err, res) {
|
||||
if (client._stream.writable) {
|
||||
// If the socket is still alive, kill it. This could happen if quit got a NR_CLOSED error code
|
||||
// If the socket is still alive, destroy it. This could happen if quit got a NR_CLOSED error code
|
||||
client._stream.destroy()
|
||||
}
|
||||
if (err && err.code === 'NR_CLOSED') {
|
||||
|
Reference in New Issue
Block a user