-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Error when copying file to file #18
Comments
Have the same bug with child process adapter, happens randomly when writing lot of files, but data written correctly. |
What version are you on @hotrush? We released |
I'm on latest v0.1.1 |
Same as @seregazhuk when you use the example it fails? |
@WyriHaximus my snippet is some different, i am using it with periodic timer
|
I cannot reproduce my issue with a new version |
@hotrush thanks, will go over it soon and see where things have to be improved. |
I still have this issue. Do you have any updates? |
I've tried to run this example with copying one file to another. It fails with:
I thinks this happens because we try to
close()
destination file twice. The first attempt happens here, when are done with reading:filesystem/src/Node/File.php
Lines 216 to 221 in 47d1b18
We call
end()
which implicitly closes the file.And then in
always()
handler:filesystem/src/Node/File.php
Lines 227 to 229 in 47d1b18
We again try to
close
the same file and it fails. Should thisalways
handler be removed or there is another solution?The text was updated successfully, but these errors were encountered: