Build - fix(Session): prevent use-after-free when database is GC'd before session The Session class was using a raw DatabaseSync* pointer without holding a reference to keep the database object alive. When JavaScript lost its reference to the DatabaseSync and GC ran, the database destructor would be called while Sessions still referenced it, causing SIGSEGV on Alpine Linux. Fix: Add Napi::ObjectReference database_ref_ to Session class, matching the pattern used by StatementSync to prevent the same issu... #242
build.yml
on: push
Matrix: prebuild-linux-glibc
prebuild-mac-x64
2m 35s
prebuild-mac-arm64
1m 14s
prebuild-win-x64
2m 27s
prebuild-win-arm64
4m 18s
Matrix: prebuild-linux-musl
lint
41s
Matrix: test-ubuntu
Matrix: test-api-compatibility
Matrix: test-mac-win
Matrix: test-alpine
publish