libpmemobj-cpp icon indicating copy to clipboard operation
libpmemobj-cpp copied to clipboard

EBR: handle using workers when ebr is already destroyed.

Open JanDorniak99 opened this issue 3 years ago • 0 comments

Currently, if we register a new worker and destroy the ebr object before destroying the worker, there will be a segmentation fault when we try to use the worker (in worker::critical we will use a deleted pointer to ebr).

JanDorniak99 avatar Jun 29 '21 10:06 JanDorniak99