Skip to content

[objective_c] Fix a failing ref count test #2349

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 11, 2025
Merged

[objective_c] Fix a failing ref count test #2349

merged 1 commit into from
Jun 11, 2025

Conversation

liamappelbe
Copy link
Contributor

@liamappelbe liamappelbe commented Jun 11, 2025

Turns out the extra reference was sitting in an autorelease pool.

Fixes #1665

Copy link

PR Health

Breaking changes ⚠️
Package Change Current Version New Version Needed Version Looking good?
objective_c Breaking 8.0.0 8.1.0-wip 9.0.0
Got "8.1.0-wip" expected >= "9.0.0" (breaking changes)
⚠️

This check can be disabled by tagging the PR with skip-breaking-check.

Changelog Entry ✔️
Package Changed Files

Changes to files need to be accounted for in their respective changelogs.

API leaks ⚠️

The following packages contain symbols visible in the public API, but not exported by the library. Export these symbols or remove them from your publicly visible API.

Package Leaked API symbols
objective_c _FinalizablePointer
_Version

This check can be disabled by tagging the PR with skip-leaking-check.

License Headers ✔️
// Copyright (c) 2025, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
Files
no missing headers

All source files should start with a license header.

Unrelated files missing license headers
Files
pkgs/jni/lib/src/third_party/generated_bindings.dart
pkgs/native_doc_dartifier/example/native_doc_dartifier_example.dart
pkgs/native_doc_dartifier/lib/native_doc_dartifier.dart
pkgs/native_doc_dartifier/lib/src/native_doc_dartifier_base.dart
pkgs/objective_c/lib/src/ns_input_stream.dart

@liamappelbe liamappelbe changed the title [WIP] Testing a fix on CI [objective_c] Fix a failing ref count test Jun 11, 2025
@liamappelbe liamappelbe requested a review from brianquinlan June 11, 2025 04:31
@liamappelbe liamappelbe marked this pull request as ready for review June 11, 2025 04:31
@coveralls
Copy link

coveralls commented Jun 11, 2025

Coverage Status

coverage: 89.856% (+4.5%) from 85.374%
when pulling a750a45 on objc_fix_test
into f127f35 on main.

@liamappelbe liamappelbe merged commit b57cb5a into main Jun 11, 2025
23 of 27 checks passed
@liamappelbe liamappelbe deleted the objc_fix_test branch June 11, 2025 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[objective_c] Memory leak in ns_input_stream_test.dart
3 participants