Fix seg fault after memory is unmapped

When memory is unmapped, there still may be RString values on the stack. A seg fault may occur if all strings in the ObjectSpace are inspected, as done during a heap dump.

To avoid this, we set the length of the strings to zero.

Relates to #41 (closed)

Edited by Stan Hu

Merge request reports

Loading