lib/rb-fsevent/fsevent.rb in rb-fsevent-0.3.3 vs lib/rb-fsevent/fsevent.rb in rb-fsevent-0.3.4
- old
+ new
@@ -10,10 +10,13 @@
launch_bin
listen
end
def stop
- Process.kill("KILL", pipe.pid) if pipe
+ if pipe
+ Process.kill("KILL", pipe.pid)
+ pipe.close
+ end
end
private
def bin_path
\ No newline at end of file