Skip to content

Commit

Permalink
Remove debugging messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
flatheadmill committed Jun 4, 2017
1 parent 5424462 commit 6883d72
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion base.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ Staccato.prototype._uncatch = function () {
}

Staccato.prototype._cancel = function () {
console.log('cancelling')
if (this._delta != null) {
this._delta.cancel([])
this._delta = null
Expand Down
2 changes: 0 additions & 2 deletions readable.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,10 @@ Readable.prototype.read = cadence(function (async) {
var loop = async(function () {
if (!this._readable) {
waited = true
console.log('waiting')
this._delta = delta(async()).ee(this.stream).on('readable')
this._destructible.addDestructor('delta', this, '_cancel')
}
}, function () {
console.log('resuming', waited, this._readable, this.destroyed)
if (!this._readable) {
this._delta = null
this._destructible.invokeDestructor('delta')
Expand Down

0 comments on commit 6883d72

Please sign in to comment.