-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Open
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listp: pigeonrelated to pigeon messaging codegen toolrelated to pigeon messaging codegen toolpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.team-ecosystemOwned by Ecosystem teamOwned by Ecosystem teamtriaged-ecosystemTriaged by Ecosystem teamTriaged by Ecosystem team
Description
When using a HostApi that stores an object and the object also uses a FlutterApi, it creates a circular reference:
Object--S-->FlutterApi--S-->BinaryMessenger--S-->HostApi--S-->Dictionary<int, Object>
^-----------------------------------------------S------------------------------------------------/
I would expect that if the engine would release their reference to the BinaryMessenger, then the host apis and flutter apis should no longer need to handle/invoke methods. Therefore, their reference to it could be weak.
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listp: pigeonrelated to pigeon messaging codegen toolrelated to pigeon messaging codegen toolpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.team-ecosystemOwned by Ecosystem teamOwned by Ecosystem teamtriaged-ecosystemTriaged by Ecosystem teamTriaged by Ecosystem team