module SassListen

def stop


This is used by the `listen` binary to handle Ctrl-C
def stop
  Internals::ThreadPool.stop
  @listeners ||= []
  # TODO: should use a mutex for this
  @listeners.each do |listener|
    # call stop to halt the main loop
    listener.stop
  end
  @listeners = nil
end