Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

stop handling if there are no handles

  • Loading branch information...
commit d22ea8b65f5e39389a5c0143bd50927d1c4dfaa0 1 parent 2c6f0ea
@elbart authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/memcache.js
View
4 lib/memcache.js
@@ -98,7 +98,9 @@ Client.prototype.dispatchHandles = function() {
for (var i in this.handles) {
var handle = this.handles.shift();
// sys.debug('dispatching handle ' + handle);
- handle();
+ if (typeof handle !== 'undefined') {
+ handle();
+ }
}
};

0 comments on commit d22ea8b

Please sign in to comment.
Something went wrong with that request. Please try again.