8000 [ios]Share extension official example leaks memory causing a crash · Issue #165829 · flutter/flutter · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[ios]Share extension official example leaks memory causing a crash #165829
Closed
@hellohuanlin

Description

@hellohuanlin

Steps to reproduce

Follow https://docs.flutter.dev/platform-integration/ios/app-extensions to implement share extension. Use Release mode so it uses less memory to be run on device (220M limit). Launch it a few times and it will crash.

Expected results

Should not crash.

Actual results

It crashes.
From the memory graph, the VC is not released after being dismissed:

Image

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work lista: releaseChallenges faced when attempting to productionize an appc: crashStack traces logged to the consoled: api docsIssues with https://api.flutter.dev/d: examplesSample code and demosperf: memoryPerformance issues related to memoryplatform-iosiOS applications specificallyteam-iosOwned by iOS platform teamtriaged-iosTriaged by iOS platform team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0