Skip to content

[128] Fix ReferenceError: weakly-referenced object no longer exists bug - #197

Open
Felipe-CdS wants to merge 2 commits into
masterfrom
fix/128
Open

[128] Fix ReferenceError: weakly-referenced object no longer exists bug#197
Felipe-CdS wants to merge 2 commits into
masterfrom
fix/128

Conversation

@Felipe-CdS

Copy link
Copy Markdown
Collaborator

Fixes issue #128.

This change makes DataflowModel keep a durable trial_ref alongside its weak trial proxy, allowing export_text() to reload the Trial if the original weakly-referenced object has already been garbage-collected. It also updates the default dependency graph mode from the stale simulation name to coarseGrain.

Adds a test covering dataflow export after the original Trial object dies.

@Felipe-CdS Felipe-CdS changed the title [128]: Fix ReferenceError: weakly-referenced object no longer exists bug [128] Fix ReferenceError: weakly-referenced object no longer exists bug Aug 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant