Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -1540,7 +1540,7 @@ extension PosthogFlutterPlugin {
private func reloadFeatureFlags(_ result: @escaping FlutterResult) {
// Resolve the Dart Future only once flags have actually finished loading.
// The native callback fires on a background thread, so hop to main for Flutter.
PostHogSDK.shared.reloadFeatureFlags {
PostHogSDK.shared.reloadFeatureFlags { _ in
DispatchQueue.main.async {
result(nil)
}
Expand Down
Loading