-
-
Notifications
You must be signed in to change notification settings - Fork 227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"cb() is not a function" on engine.remove #143
Comments
Did you fix this? :) |
I don't think it was actually a problem of the library but a strange behaviour. In fact calling engine.remove the file were deleted but the swarm continued to download stuff (and I didn't even know where this stuff were downloaded). PS = and the callback should be specified that is not facultative, if you don't put it, the error specified above will return. |
Oh okay. I guess .remove should call .destroy for you. If you wanna PR that I'd merge it. |
Ok, give me some time please because I would like also to check that callback and make it an optional paramater if it is ok for you. |
Sounds good On Sun, Nov 8, 2015 at 2:34 AM Giacomo Cerquone notifications@github.com
|
Hello, so I'm trying to call engine.remove() once the engine is created and it's downloading but it won't work.
I tried to call it with:
and it returns:
I tried also
or
and nothing happens, like I've never called this method. Is it possible that something is wrong there in the library?
Thank you :)
The text was updated successfully, but these errors were encountered: