Skip to content
Commit 1daf96cb authored by Sébastien Wilmet's avatar Sébastien Wilmet
Browse files

Document: weak ref on the DocumentTab

If latexila opens just one DocumentTab, on application exit there were 3
remaining refs to that DocumentTab. Now it's reduced to 2 remaining
refs. So the memory leak is not fixed, but it's one step closer to fix
it.

Note that an object should not be aware of who contains it. It's fine
for DocumentTab to know about Document, since Document is contained in
DocumentTab, but the reverse is not a good practice. This code was
written a long time ago…

https://bugzilla.gnome.org/show_bug.cgi?id=761181
parent 6bfc7eec
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment