Skip to content

Commit

Permalink
More sugar with that coffee
Browse files Browse the repository at this point in the history
  • Loading branch information
clee committed Jan 31, 2012
1 parent 4d3d35b commit 77388b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/node-maildir.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ class Maildir extends EventEmitter
@count = @files.length

# Kill the watcher, remove the listeners, end the world
shutdown: (cb) =>
shutdown: (callback) =>
@watcher?.close()
@removeAllListeners()
cb() if cb?
callback?()

# Notify the client about all the new messages that already exist
monitor: =>
Expand Down

0 comments on commit 77388b4

Please sign in to comment.