Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
**Fixes**:

- Prevent backend state races when `sentry_reinstall_backend` runs concurrently with scope observer callbacks. ([#2041](https://github.com/getsentry/sentry-native/pull/2041))
- Native: clean up stale envelopes after crashes with `SENTRY_TRANSPORT=none`. ([#2049](https://github.com/getsentry/sentry-native/pull/2049))

## 0.16.5

Expand Down
7 changes: 6 additions & 1 deletion src/backends/native/sentry_crash_daemon.c
Original file line number Diff line number Diff line change
Expand Up @@ -4678,7 +4678,12 @@ sentry__crash_daemon_main(pid_t app_pid, uint64_t app_tid, HANDLE event_handle,
SENTRY_DEBUG("Signaling ready to parent");
sentry__crash_ipc_signal_ready(ipc);

// Transport is already initialized by sentry_options_new(), just start it
// Transport is already initialized by sentry_options_new(), except when
// SENTRY_TRANSPORT=none. Mirror sentry_init() by installing the internal
// null transport in that case, then start it.
if (!options->transport) {
options->transport = sentry__transport_new_null();
}
if (options->transport) {
SENTRY_DEBUG("Starting transport");
sentry__transport_startup(options->transport, options);
Expand Down
Loading