lucasfang commented on PR #233:
URL: https://github.com/apache/paimon-cpp/pull/233#issuecomment-5422616399

   Thanks for your contribution. The core fix is correct and effective. Moving 
the scheduling state into a shared_ptr<State> so that workers never touch this, 
combined with detach() when the thread being shut down is the current one, is 
the right approach — both parts are necessary, since detaching without 
relocating the state would leave the surviving worker touching freed members.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to