Objo.
Feedback Forum Docs Objo Studio
Feedback

Bug #1554

Dictionaries correctly preserve stored object lifetimes

Status
Fixed
Fixed in
v26.9.4
Area
compiler
Source discussion
https://forum.objo.dev/d/1156-dictionary-does-not-keep-class-instances-alive
Last updated
2026-09-28

Upvotes

0 upvotes

Uses your Objo forum account.

Public summary

Dictionaries should keep stored class instances and other reference values alive until those entries are removed, replaced, or the dictionary is released. Assigning through Dictionary.Value(key) can currently leave an instance with cleared properties after its original variable goes out of scope. Reading Values can also damage stored objects, and replacing or removing entries can leak them. Dictionary snapshots and literals should preserve normal object lifetimes.

Objo.

Build apps visually, deploy anywhere.

Feedback is a public read-only status mirror for Objo Studio.