Closed RHL120 closed 1 year ago
@meme can you check this pr?
I'm not sure about this - simply because a Drop implementation blocking on wait
sounds like a bad idea. Regardless, close should not be removed - users should still be able to call close
.
I'm not sure about this - simply because a Drop implementation blocking on
wait
sounds like a bad idea. Regardless, close should not be removed - users should still be able to callclose
.
It is clear to me now that this PR is a mistake because it will literally break all projects using r2pipe. Sadly keeping close will actually make it worse because we would then have double closes everywhere. I will close this PR. Sorry for wasting your time.
Checklist
Description I rarely implement the drop trait so I am not sure that this is the way it should be used.