Skip to content

Setting skia cache size causes crash in release mode on android #35890

@abhishekamit

Description

@abhishekamit

If an android flutter application invokes the Skia.setResourceCacheMaxBytes method on the skia system channel at startup it crashes in release mode because there is not yet a surface here: https://github.com/flutter/engine/blob/6cf0d1350e0ac03df9ebcbb15c35a4a035010460/shell/common/rasterizer.cc#L424

Metadata

Metadata

Assignees

Labels

engineflutter/engine related. See also e: labels.frameworkflutter/packages/flutter repository. See also f: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions