Getting Uncaught RangeError: Maximum call

Hi,

I am using goJS 1.0.8 and I am getting the following exception in Chrome:

Uncaught RangeError: Maximum call stack size exceeded
D.qa
gi
A.Wr
gi
A.Wr
gi
A.Wr
gi
A.Wr
gi
A.Wr
gi
A.Wr
gi
A.Wr
gi
A.Wr
gi
A.Wr
gi
A.Wr
gi
A.Wr
gi
A.Wr
gi
A.Wr
gi
A.Wr
gi
A.Wr
.
.
.

We are using single DOM to dynamically generate our pages which means we add/remove nodes from DOM a lot. I got this error when I tried to remove the nodes which contained the

node used by goJS. I tried to call diagram.clear() before I removed the nodes in the DOM, but this error still exists.

Can someone tell me if there is a way to totally destroy the content or listeners of a diagram before I clean up the node(s) used by goJS?

Thanks.

Can we see your diagram so that we can try debugging it? We’ll send you e-mail in case your page is not on a public web site, if you want to communicate with us privately.

Diagram.clear() does remove all of the nodes and links and model state, but it does not remove any registered listeners. There’s no way for you to do that, other than removing them individually.