Skip to content

Commit

Permalink
added kill
Browse files Browse the repository at this point in the history
  • Loading branch information
mbriau committed Feb 17, 2016
1 parent 63650e2 commit 5a01d37
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/PriorityDataQueue.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,7 @@ module.exports = class PriorityDataQueue
# Simply call the dataSource since this is not an async function
getImageUrl: (imageId, height) ->
@dataSource.getImageUrl(imageId, height)

kill: () ->
if @performQueryPriorityQueue?
@performQueryPriorityQueue.kill()

0 comments on commit 5a01d37

Please sign in to comment.