Permalink
Browse files

added a complete event for offline files

  • Loading branch information...
1 parent c7690b8 commit ffce3b30251badc5f6a6643f7d48f8f52475dbc3 jshimty committed Dec 2, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 pcap.js
View
@@ -74,6 +74,7 @@ Pcap.prototype.open = function (live, device, filter, buffer_size, pcap_output_f
// with events.
if(!me.live) {
me.readWatcher.stop();
+ me.emit('complete');
}
// TODO - figure out what is causing this, and if it is bad.

0 comments on commit ffce3b3

Please sign in to comment.