Make sure objects are created and destroyed at the right times #44

Open
opened 2026-10-18 19:14:16 -04:00 by apollo · 1 comment
Owner

Now that pretty much the whole app has been rewritten, I need to go through again and make sure all of the garbage collection works as intended. All the objects are so small that tbh a memory leak wouldn't be that bad lol but I wanna do things the right way. Also having a board object stick around after "disconnecting" from the board has potential to cause Issues.

Now that pretty much the whole app has been rewritten, I need to go through again and make sure all of the garbage collection works as intended. All the objects are so small that tbh a memory leak wouldn't be that bad lol but I wanna do things the right way. Also having a board object stick around after "disconnecting" from the board has potential to cause Issues.
apollo added this to the v1.0 milestone 2026-10-18 19:14:16 -04:00
Author
Owner

I did check the board object itself and it seems like it gets destroyed properly, need to check all of the children though. Might be worth seeing if there's some sort of profiler I can use so I don't just have to manually add debug statements to all of the destructors to check for this.

I did check the board object itself and it seems like it gets destroyed properly, need to check all of the children though. Might be worth seeing if there's some sort of profiler I can use so I don't just have to manually add debug statements to all of the destructors to check for this.
Sign in to join this conversation.
No description provided.