Skip to content

Commit 05ef210

Browse files
author
Mike Bohlander
committed
this guy blocks shutdown in my unit tets
1 parent 8a746dc commit 05ef210

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/redis-mock.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@ RedisClient.prototype.end = function () {
128128

129129
var self = this;
130130

131+
clearInterval(MockInstance._expireLoop);
132+
131133
// Remove all subscriptions (pub/sub)
132134
this.subscriptions = [];
133135

0 commit comments

Comments
 (0)