Skip to content

bitmapfont内存泄漏 #19174

@renznn

Description

@renznn

Cocos Creator version

3.8.7

System information

Web

Issue description

Image Image Image

如果是项目里面设置了labelatlas,onLoad进来的spriteFrame.texture本身计数ref就是1,在FontAtlas的set函数里面计数addref再+1,但是再界面释放的时候只会decref一次,就会到这个texture的计数越来越大

Relevant error log output

No response

Steps to reproduce

界面里面设置一个labelatlas

Image

Minimal reproduction project

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugNeeds TriageNeeds to be assigned by the team

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions