GoogleChromeLabs / carlo

Web rendering surface for Node applications
Apache License 2.0
9.31k stars 309 forks source link

calling method on rpc.handle with window as argument fails with stack overflow #65

Closed alexkozy closed 5 years ago

alexkozy commented 5 years ago

On attempt to pass any object with recursive link as argument to rpc.handle method, rpc throws stack overflow exception.

It would be nice if rpc.wrap_ method handles this case more gracefully.