Class serialiser implements seen($this) to prevent recursive problems where two objects point to each other.
It appears that this specif code $get(seen($this)) causes $this to become a stale object in memory, the issue is a bug with the underlying platform, for more details...
https://community.intersystems.com/post/warning-stale-persistent-objects-created#comment-33396
The fix is to implement seen(""_$this)
Currently working on the fix and will release a new version today.
Class serialiser implements seen($this) to prevent recursive problems where two objects point to each other.
It appears that this specif code $get(seen($this)) causes $this to become a stale object in memory, the issue is a bug with the underlying platform, for more details...
https://community.intersystems.com/post/warning-stale-persistent-objects-created#comment-33396
The fix is to implement seen(""_$this)
Currently working on the fix and will release a new version today.