mafintosh / torrent-stream

The low level streaming torrent engine that peerflix uses
MIT License
1.94k stars 227 forks source link

engine.remove calls destroy too and the callback is now optional #144

Open giacomocerquone opened 8 years ago

giacomocerquone commented 8 years ago

Fixed #143 Now the callback is optional and engine.remove() calls automatically engine.destroy. @mafintosh Sorry for the late fix but the college is destroying me (just to stay on topic), I'm used to use useless semicolon when I call function, but I respected your style here :)

giacomocerquone commented 8 years ago

Ops you're right, I haven't thought to use an empty function

giacomocerquone commented 8 years ago

This is related to the #98 too.