Closed dayllenger closed 4 years ago
have you tried latest libdparse yet? I have redone the rollback allocator implementation and it was PRd recently (not yet upgraded)
before it would segfault on a lot of operations, now it should work fine
I forgot. Now they work. I'll test more and submit a PR tomorrow.
Rollback allocators leak. I moved them into the scopes they are used in. I tried to set checkpoint + rollback on scope exit, but got segfault. Bringing them in scope is maybe slower (without a benchmark it's nonsensial to say), but at least it is safe.
Futures leak too. They need to join threads explicitly.