Open Bug 1797044 (stop-circular-reference-of-transactions) Opened 2 years ago Updated 2 years ago

Make transaction instances stop grabbing point to editor

Categories

(Core :: DOM: Editor, defect, P3)

defect

Tracking

()

People

(Reporter: masayuki, Unassigned)

References

(Blocks 1 open bug)

Details

Each transaction class grabs editor which is indirect owner. Therefore, there are too many circular references between transaction instances and an editor instance.

After fixing bug 1768315, nobody can make transaction instances live longer in chrome script. Therefore, we could fix this issue.

Perhaps, when TransactionManager is released by the editor, all transactions should be notified and clear weak reference to editor.

Alias: stop-circular-reference-of-transactions
You need to log in before you can comment on or make changes to this bug.