Permalink
Browse files

fixed infinite loop when steezes are piped in a ring

  • Loading branch information...
1 parent 2817fde commit fc06a5222327c57def0fae19c6f6b602d3dca95e @deoxxa committed Oct 23, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 index.js
View
@@ -68,6 +68,10 @@ Steez.prototype._resume = function _resume(pindex) {
this.on_resume();
}
+ if (!was_paused) {
+ return this;
+ }
+
return this.flush();
};

0 comments on commit fc06a52

Please sign in to comment.