From d4feafb879694ec00a79efa4674b31aa53acc21a Mon Sep 17 00:00:00 2001 From: Giancarlo Buenaflor Date: Thu, 3 Apr 2025 13:19:59 +0200 Subject: [PATCH 1/2] Update troubleshooting.mdx --- docs/platforms/dart/guides/flutter/troubleshooting.mdx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/platforms/dart/guides/flutter/troubleshooting.mdx b/docs/platforms/dart/guides/flutter/troubleshooting.mdx index 1a27fdb5c3c320..2bd9afb3b8a477 100644 --- a/docs/platforms/dart/guides/flutter/troubleshooting.mdx +++ b/docs/platforms/dart/guides/flutter/troubleshooting.mdx @@ -37,6 +37,10 @@ Building a Flutter app for a specific ABI using the `--target-platform` argument flutter build apk --target-platform=android-arm --split-per-abi ``` +## Running Sentry within an Isolate + +If you have a Sentry instance running within a separate [Isolate](https://dart.dev/language/isolates) you must execute `Sentry.close()` before the Isolate completes otherwise the Isolate won't shut down correctly. + ## Native Symbolication on Android The configuration for symbolication of Native events (C/C++) is documented in our [Android Native Development Kit](/platforms/android/configuration/using-ndk/) content. If you are having issues with symbolication in Flutter, check that your configuration is correct, as discussed in our Flutter content that covers [Uploading for Android NDK](/platforms/dart/guides/flutter/upload-debug/#uploading-for-android-ndk) From df710f24843a30efa34af4f9c50a78c8b21654bb Mon Sep 17 00:00:00 2001 From: Giancarlo Buenaflor Date: Mon, 7 Apr 2025 11:00:08 +0200 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: Alex Krawiec --- docs/platforms/dart/guides/flutter/troubleshooting.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/platforms/dart/guides/flutter/troubleshooting.mdx b/docs/platforms/dart/guides/flutter/troubleshooting.mdx index 2bd9afb3b8a477..c5fe626c3861d2 100644 --- a/docs/platforms/dart/guides/flutter/troubleshooting.mdx +++ b/docs/platforms/dart/guides/flutter/troubleshooting.mdx @@ -37,9 +37,9 @@ Building a Flutter app for a specific ABI using the `--target-platform` argument flutter build apk --target-platform=android-arm --split-per-abi ``` -## Running Sentry within an Isolate +## Running Sentry Within an Isolate -If you have a Sentry instance running within a separate [Isolate](https://dart.dev/language/isolates) you must execute `Sentry.close()` before the Isolate completes otherwise the Isolate won't shut down correctly. +If you have a Sentry instance running within a separate [Isolate](https://dart.dev/language/isolates) you must execute `Sentry.close()` before the Isolate completes, otherwise the Isolate won't shut down correctly. ## Native Symbolication on Android