Relax commit methods to &self in database#190
Conversation
Signed-off-by: RealHinome <acn@gravitalia.com>
Remove unused &mut. Signed-off-by: RealHinome <acn@gravitalia.com>
|
I also noticed |
|
After careful re-reading, I extracted a good quote but with the wrong context 🤣 Edit: I also want to open another PR to avoid a JS test to update |
|
CI please start? |
What fixed the SIGSEGV? |
Sorry for the delay, I was not at home. I believe it was a missing from the early beginning since you are using |
Old messageWhen I take a closer look, I am surprised that SIGSEGV disappeared. But it weirdly does. Edit: I understand why and made a patch. I'm gonna eat and push everything with an explanation. SIGSEGV was caused by a race condition. It became possible after relaxing API from Actually, adding the missing The solution I propose is just to integrate the |
|
Concerning CI, I think it's because I try to merge on Edit: my PGP key expired... |
Signed-off-by: RealHinome <acn@gravitalia.com>
24255d5 to
a793386
Compare
Signed-off-by: RealHinome <acn@gravitalia.com>
Closes #182. I am using my main account to make these commits.
You were right. By relaxing
&mut selfto&selfon the Rust side, JS bindings didn't fail, but it ultimately triggered aSIGSEGVat the very end of the Jest run. I alos fixed a missingawaitondb.addHistoricEventsin the nul-bytes test which was causing, I believe, a race condition.I ran all tests, and they all passed, with no more
SIGSEGV.clippyfails but it is already patched on #189 (d397899).