Skip to content

Conversation

@amoskahiga
Copy link

Crash would occur at exit when a static shared_ptr object was destroyed due to capturing local variables by value using [=] in the shared_ptr's custom deleter lambda. The deleter doesn't use any captured variables so use an empty clause instead.

Crash would occur when a static object holding a shared_ptr<sqlite3>
object was destroyed due to capturing local variables by value using [=]
in the shared_ptr's custom deleter lambda. The deleter doesn't use any
captured variables so use an empty clause instead.
@amoskahiga amoskahiga marked this pull request as ready for review May 22, 2025 01:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant